public boolean equals()

in dotTrace-common/src/main/java/jetbrains/buildServer/dotTrace/StatisticMessage.java [75:87]


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

    final StatisticMessage statisticMessage = (StatisticMessage)o;

    if (!getMethodName().equals(statisticMessage.getMethodName())) return false;
    if (!getTotalTimeThreshold().equals(statisticMessage.getTotalTimeThreshold())) return false;
    if (!getOwnTimeThreshold().equals(statisticMessage.getOwnTimeThreshold())) return false;
    if (!getMeasuredTotalTime().equals(statisticMessage.getMeasuredTotalTime())) return false;
    return getMeasuredOwnTime().equals(statisticMessage.getMeasuredOwnTime());

  }