ai.grakn.concept.AutoValue_LabelId Maven / Gradle / Ivy
package ai.grakn.concept;
import javax.annotation.CheckReturnValue;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_LabelId extends LabelId {
private final Integer value;
AutoValue_LabelId(
Integer value) {
if (value == null) {
throw new NullPointerException("Null value");
}
this.value = value;
}
@CheckReturnValue
@Override
public Integer getValue() {
return value;
}
@Override
public String toString() {
return "LabelId{"
+ "value=" + value
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof LabelId) {
LabelId that = (LabelId) o;
return (this.value.equals(that.getValue()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.value.hashCode();
return h;
}
private static final long serialVersionUID = -1676610785035926909L;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy