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

org.molgenis.semanticsearch.semantic.AutoValue_Hits Maven / Gradle / Ivy

The newest version!
package org.molgenis.semanticsearch.semantic;

import java.util.List;
import javax.annotation.processing.Generated;

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

  private final List> hits;

  AutoValue_Hits(
      List> hits) {
    if (hits == null) {
      throw new NullPointerException("Null hits");
    }
    this.hits = hits;
  }

  @Override
  public List> getHits() {
    return hits;
  }

  @Override
  public String toString() {
    return "Hits{"
         + "hits=" + hits
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof Hits) {
      Hits that = (Hits) o;
      return this.hits.equals(that.getHits());
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h$ = 1;
    h$ *= 1000003;
    h$ ^= hits.hashCode();
    return h$;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy