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