示例#1
0
 @Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + ((averagedRecords == null) ? 0 : averagedRecords.hashCode());
   result = prime * result + ((historicalValues == null) ? 0 : historicalValues.hashCode());
   long temp;
   temp = Double.doubleToLongBits(total);
   result = prime * result + (int) (temp ^ (temp >>> 32));
   return result;
 }
 public int hashCode() {
   synchronized (mutex) {
     return list.hashCode();
   }
 }