com.google.gerrit.server.auth.AutoValue_AuthUser_UUID Maven / Gradle / Ivy
The newest version!
package com.google.gerrit.server.auth;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_AuthUser_UUID extends AuthUser.UUID {
private final String uuid;
AutoValue_AuthUser_UUID(
String uuid) {
if (uuid == null) {
throw new NullPointerException("Null uuid");
}
this.uuid = uuid;
}
@Override
public String uuid() {
return uuid;
}
@Override
public String toString() {
return "UUID{"
+ "uuid=" + uuid
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof AuthUser.UUID) {
AuthUser.UUID that = (AuthUser.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