public boolean equals()

in metrics/src/main/java/com/facebook/battery/metrics/bluetooth/BluetoothMetrics.java [64:79]


  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    BluetoothMetrics that = (BluetoothMetrics) o;
    if (bleScanCount != that.bleScanCount
        || bleScanDurationMs != that.bleScanDurationMs
        || bleOpportunisticScanCount != that.bleOpportunisticScanCount
        || bleOpportunisticScanDurationMs != that.bleOpportunisticScanDurationMs) {
      return false;
    }
    return true;
  }