All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.stanford.protege.webprotege.viz.AutoValue_TailNodeMatchesCriteria Maven / Gradle / Ivy

There is a newer version: 2.0.2-WHO
Show newest version
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$;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy