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