edu.stanford.protege.webprotege.viz.AutoValue_NegatedEdgeCriteria Maven / Gradle / Ivy
package edu.stanford.protege.webprotege.viz;
import javax.annotation.Nonnull;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_NegatedEdgeCriteria extends NegatedEdgeCriteria {
private final EdgeCriteria negatedCriteria;
AutoValue_NegatedEdgeCriteria(
EdgeCriteria negatedCriteria) {
if (negatedCriteria == null) {
throw new NullPointerException("Null negatedCriteria");
}
this.negatedCriteria = negatedCriteria;
}
@Nonnull
@Override
public EdgeCriteria getNegatedCriteria() {
return negatedCriteria;
}
@Override
public String toString() {
return "NegatedEdgeCriteria{"
+ "negatedCriteria=" + negatedCriteria
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof NegatedEdgeCriteria) {
NegatedEdgeCriteria that = (NegatedEdgeCriteria) o;
return this.negatedCriteria.equals(that.getNegatedCriteria());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= negatedCriteria.hashCode();
return h$;
}
}