Esempio n. 1
0
 @Override
 public int hashCode() {
   int ret = getSet().size();
   for (Assignment<T> a : iSet) ret = xor(ret, a.hashCode());
   return ret;
 }
Esempio n. 2
0
 @Override
 public int hashCode() {
   return student.hashCode() + assignment.hashCode() + timestamp.hashCode();
 }