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