public boolean equals()

in java/benchmark/src/main/java/org/apache/fury/benchmark/data/Sample.java [91:201]


  public boolean equals(Object object) {
    if (this == object) {
      return true;
    }
    if (object == null) {
      return false;
    }
    if (getClass() != object.getClass()) {
      return false;
    }
    Sample other = (Sample) object;
    if (booleanValueBoxed == null) {
      if (other.booleanValueBoxed != null) {
        return false;
      }
    } else if (!booleanValueBoxed.equals(other.booleanValueBoxed)) {
      return false;
    }
    if (charValueBoxed == null) {
      if (other.charValueBoxed != null) {
        return false;
      }
    } else if (!charValueBoxed.equals(other.charValueBoxed)) {
      return false;
    }
    if (doubleValueBoxed == null) {
      if (other.doubleValueBoxed != null) {
        return false;
      }
    } else if (!doubleValueBoxed.equals(other.doubleValueBoxed)) {
      return false;
    }
    if (floatValueBoxed == null) {
      if (other.floatValueBoxed != null) {
        return false;
      }
    } else if (!floatValueBoxed.equals(other.floatValueBoxed)) {
      return false;
    }
    if (intValueBoxed == null) {
      if (other.intValueBoxed != null) {
        return false;
      }
    } else if (!intValueBoxed.equals(other.intValueBoxed)) {
      return false;
    }
    if (longValueBoxed == null) {
      if (other.longValueBoxed != null) {
        return false;
      }
    } else if (!longValueBoxed.equals(other.longValueBoxed)) {
      return false;
    }
    if (shortValueBoxed == null) {
      if (other.shortValueBoxed != null) {
        return false;
      }
    } else if (!shortValueBoxed.equals(other.shortValueBoxed)) {
      return false;
    }
    if (!Arrays.equals(booleanArray, other.booleanArray)) {
      return false;
    }
    if (booleanValue != other.booleanValue) {
      return false;
    }
    if (!Arrays.equals(charArray, other.charArray)) {
      return false;
    }
    if (charValue != other.charValue) {
      return false;
    }
    if (!Arrays.equals(doubleArray, other.doubleArray)) {
      return false;
    }
    if (Double.doubleToLongBits(doubleValue) != Double.doubleToLongBits(other.doubleValue)) {
      return false;
    }
    if (!Arrays.equals(floatArray, other.floatArray)) {
      return false;
    }
    if (Float.floatToIntBits(floatValue) != Float.floatToIntBits(other.floatValue)) {
      return false;
    }
    if (!Arrays.equals(intArray, other.intArray)) {
      return false;
    }
    if (intValue != other.intValue) {
      return false;
    }
    if (!Arrays.equals(longArray, other.longArray)) {
      return false;
    }
    if (longValue != other.longValue) {
      return false;
    }
    if (!Arrays.equals(shortArray, other.shortArray)) {
      return false;
    }
    if (shortValue != other.shortValue) {
      return false;
    }
    if (string == null) {
      if (other.string != null) {
        return false;
      }
    } else if (!string.equals(other.string)) {
      return false;
    }
    return true;
  }