@Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + ((activity == null) ? 0 : activity.hashCode());
   result = prime * result + (int) (time ^ (time >>> 32));
   result = prime * result + Float.floatToIntBits(weight);
   return result;
 }
예제 #2
0
 @Override
 public int hashCode() {
   return componentName.hashCode() + user.hashCode();
 }