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