public boolean equals()

in metrics/src/main/java/com/facebook/battery/metrics/disk/DiskMetrics.java [88:107]


  public boolean equals(Object other) {
    if (this == other) {
      return true;
    }
    if (other == null || getClass() != other.getClass()) {
      return false;
    }

    DiskMetrics that = (DiskMetrics) other;

    return that.rcharBytes == rcharBytes
        && that.wcharBytes == wcharBytes
        && that.syscrCount == syscrCount
        && that.syscwCount == syscwCount
        && that.readBytes == readBytes
        && that.writeBytes == writeBytes
        && that.cancelledWriteBytes == cancelledWriteBytes
        && that.majorFaults == majorFaults
        && that.blkIoTicks == blkIoTicks;
  }