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

io.weaviate.client.v1.contextionary.model.C11yWordsResponseConcatenatedWord Maven / Gradle / Ivy

There is a newer version: 4.9.0
Show newest version
// Generated by delombok at Fri Nov 24 13:20:07 UTC 2023
package io.weaviate.client.v1.contextionary.model;

public class C11yWordsResponseConcatenatedWord {
  private C11yNearestNeighbor[] concatenatedNearestNeighbors;
  private Float[] concatenatedVector;
  private String concatenatedWord;
  private String[] singleWords;

  @java.lang.SuppressWarnings("all")
  public C11yNearestNeighbor[] getConcatenatedNearestNeighbors() {
    return this.concatenatedNearestNeighbors;
  }

  @java.lang.SuppressWarnings("all")
  public Float[] getConcatenatedVector() {
    return this.concatenatedVector;
  }

  @java.lang.SuppressWarnings("all")
  public String getConcatenatedWord() {
    return this.concatenatedWord;
  }

  @java.lang.SuppressWarnings("all")
  public String[] getSingleWords() {
    return this.singleWords;
  }

  @java.lang.SuppressWarnings("all")
  public C11yWordsResponseConcatenatedWord(final C11yNearestNeighbor[] concatenatedNearestNeighbors, final Float[] concatenatedVector, final String concatenatedWord, final String[] singleWords) {
    this.concatenatedNearestNeighbors = concatenatedNearestNeighbors;
    this.concatenatedVector = concatenatedVector;
    this.concatenatedWord = concatenatedWord;
    this.singleWords = singleWords;
  }

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  public java.lang.String toString() {
    return "C11yWordsResponseConcatenatedWord(concatenatedNearestNeighbors=" + java.util.Arrays.deepToString(this.getConcatenatedNearestNeighbors()) + ", concatenatedVector=" + java.util.Arrays.deepToString(this.getConcatenatedVector()) + ", concatenatedWord=" + this.getConcatenatedWord() + ", singleWords=" + java.util.Arrays.deepToString(this.getSingleWords()) + ")";
  }

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  public boolean equals(final java.lang.Object o) {
    if (o == this) return true;
    if (!(o instanceof C11yWordsResponseConcatenatedWord)) return false;
    final C11yWordsResponseConcatenatedWord other = (C11yWordsResponseConcatenatedWord) o;
    if (!other.canEqual((java.lang.Object) this)) return false;
    if (!java.util.Arrays.deepEquals(this.getConcatenatedNearestNeighbors(), other.getConcatenatedNearestNeighbors())) return false;
    if (!java.util.Arrays.deepEquals(this.getConcatenatedVector(), other.getConcatenatedVector())) return false;
    final java.lang.Object this$concatenatedWord = this.getConcatenatedWord();
    final java.lang.Object other$concatenatedWord = other.getConcatenatedWord();
    if (this$concatenatedWord == null ? other$concatenatedWord != null : !this$concatenatedWord.equals(other$concatenatedWord)) return false;
    if (!java.util.Arrays.deepEquals(this.getSingleWords(), other.getSingleWords())) return false;
    return true;
  }

  @java.lang.SuppressWarnings("all")
  protected boolean canEqual(final java.lang.Object other) {
    return other instanceof C11yWordsResponseConcatenatedWord;
  }

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  public int hashCode() {
    final int PRIME = 59;
    int result = 1;
    result = result * PRIME + java.util.Arrays.deepHashCode(this.getConcatenatedNearestNeighbors());
    result = result * PRIME + java.util.Arrays.deepHashCode(this.getConcatenatedVector());
    final java.lang.Object $concatenatedWord = this.getConcatenatedWord();
    result = result * PRIME + ($concatenatedWord == null ? 43 : $concatenatedWord.hashCode());
    result = result * PRIME + java.util.Arrays.deepHashCode(this.getSingleWords());
    return result;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy