com.google.gerrit.entities.AutoValue_AccountGroup_UUID Maven / Gradle / Ivy
package com.google.gerrit.entities;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_AccountGroup_UUID extends AccountGroup.UUID {
private final String uuid;
AutoValue_AccountGroup_UUID(
String uuid) {
if (uuid == null) {
throw new NullPointerException("Null uuid");
}
this.uuid = uuid;
}
@Override
String uuid() {
return uuid;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof AccountGroup.UUID) {
AccountGroup.UUID that = (AccountGroup.UUID) o;
return this.uuid.equals(that.uuid());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= uuid.hashCode();
return h$;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy