public boolean equals()

in java/benchmark/src/main/java/org/apache/fury/benchmark/data/Media.java [67:112]


  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    Media other = (Media) o;
    if (bitrate != other.bitrate) {
      return false;
    }
    if (duration != other.duration) {
      return false;
    }
    if (hasBitrate != other.hasBitrate) {
      return false;
    }
    if (height != other.height) {
      return false;
    }
    if (size != other.size) {
      return false;
    }
    if (width != other.width) {
      return false;
    }
    if (copyright != null ? !copyright.equals(other.copyright) : other.copyright != null) {
      return false;
    }
    if (format != null ? !format.equals(other.format) : other.format != null) {
      return false;
    }
    if (persons != null ? !persons.equals(other.persons) : other.persons != null) {
      return false;
    }
    if (player != other.player) {
      return false;
    }
    if (title != null ? !title.equals(other.title) : other.title != null) {
      return false;
    }
    if (uri != null ? !uri.equals(other.uri) : other.uri != null) {
      return false;
    }
    return true;
  }