public boolean equals()

in metrics/src/main/java/com/facebook/battery/metrics/wakelock/WakeLockMetrics.java [117:135]


  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }

    if (o == null || getClass() != o.getClass()) {
      return false;
    }

    WakeLockMetrics that = (WakeLockMetrics) o;

    if (isAttributionEnabled != that.isAttributionEnabled
        || heldTimeMs != that.heldTimeMs
        || acquiredCount != that.acquiredCount) {
      return false;
    }

    return Utilities.simpleArrayMapEquals(tagTimeMs, that.tagTimeMs);
  }