public boolean equals()

in exporters/metrics/src/main/java/com/google/cloud/opentelemetry/metric/MetricWithLabels.java [31:41]


  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    MetricWithLabels that = (MetricWithLabels) o;
    return Objects.equals(metricType, that.metricType)
        && Objects.equals(attributes, that.attributes);
  }