コード例 #1
0
 public int hashCode() {
   int h = 0;
   int i = this._pos;
   while (i-- > 0) {
     h = 37 * h + HashFunctions.hash(this._data[i]);
   }
   return h;
 }
コード例 #2
0
 public final boolean execute(final int key, final Object value) {
   this.h +=
       (TIntObjectHashMap.this._hashingStrategy.computeHashCode(key)
           ^ HashFunctions.hash(value));
   return true;
 }