com.google.gerrit.entities.AutoValue_Account_Id Maven / Gradle / Ivy
package com.google.gerrit.entities;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Account_Id extends Account.Id {
private final int id;
AutoValue_Account_Id(
int id) {
this.id = id;
}
@Override
int id() {
return id;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Account.Id) {
Account.Id that = (Account.Id) o;
return this.id == that.id();
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= id;
return h$;
}
}