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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy