Esempio n. 1
0
 @Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + ((key == null) ? 0 : key.hashCode());
   return result;
 }
Esempio n. 2
0
 @Override
 public int hashCode() {
   return (int) (myKey.hashCode() * this.nanoTime) % Integer.MAX_VALUE;
 }