@Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + ((decision == null) ? 0 : decision.hashCode());
   result = prime * result + ((originalPrimitive == null) ? 0 : originalPrimitive.hashCode());
   result = prime * result + pos;
   result = prime * result + ((relation == null) ? 0 : relation.hashCode());
   result = prime * result + ((role == null) ? 0 : role.hashCode());
   return result;
 }
Пример #2
0
 @Override
 public int hashCode() {
   return rel.hashCode();
 }