@Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + ((key == null) ? 0 : key.hashCode());
   result = prime * result + ((value == null) ? 0 : value.hashCode());
   return result;
 }
Exemple #2
0
 @Override
 public int hashCode() {
   return first.hashCode() * 163 + second.hashCode();
 }