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

ai.grakn.engine.task.postprocessing.AutoValue_PostProcessor Maven / Gradle / Ivy

There is a newer version: 1.4.3
Show newest version

package ai.grakn.engine.task.postprocessing;

import javax.annotation.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
 final class AutoValue_PostProcessor extends PostProcessor {

  private final IndexPostProcessor index;
  private final CountPostProcessor count;

  AutoValue_PostProcessor(
      IndexPostProcessor index,
      CountPostProcessor count) {
    if (index == null) {
      throw new NullPointerException("Null index");
    }
    this.index = index;
    if (count == null) {
      throw new NullPointerException("Null count");
    }
    this.count = count;
  }

  @Override
  public IndexPostProcessor index() {
    return index;
  }

  @Override
  public CountPostProcessor count() {
    return count;
  }

  @Override
  public String toString() {
    return "PostProcessor{"
        + "index=" + index + ", "
        + "count=" + count
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof PostProcessor) {
      PostProcessor that = (PostProcessor) o;
      return (this.index.equals(that.index()))
           && (this.count.equals(that.count()));
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h = 1;
    h *= 1000003;
    h ^= this.index.hashCode();
    h *= 1000003;
    h ^= this.count.hashCode();
    return h;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy