TrailStatisticsImpl implements TrailStatistics { @Override public int hashCode() { return hash; } TrailStatisticsImpl(
      final Statistics time,
      final Statistics dist,
      final Statistics ele,
      final Statistics eleDiff,
      final Statistics speed,
      final Statistics grade); @Override Statistics getTimeDifferenceSummary(); @Override Statistics getDistanceSummary(); @Override Statistics getElevationDifferenceSummary(); @Override Statistics getSpeedSummary(); @Override Statistics getGradeSummary(); @Override Statistics getElevationSummary(); @Override String toString(); @Override int hashCode(); @Override boolean equals(final Object obj);  }
@Test public void checkHashcode() { final TrailStatistics stats1 = getStats(); final TrailStatistics stats2 = getStats(); final TrailStatistics stats3 = getStats2(); assertEquals(stats1.hashCode(), stats2.hashCode()); assertFalse(stats1.hashCode() == stats3.hashCode()); }