Пример #1
0
 @Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + ((groupID == null) ? 0 : groupID.hashCode());
   result = prime * result + ((form == null) ? 0 : form.hashCode());
   return result;
 }
Пример #2
0
 public int hashCode() {
   return receiver.hashCode() + attribute.hashCode();
 }