예제 #1
0
 private int find(T item, int hashCode)
 {
     for (int i = indexes[hashCode % sizeof(indexes)] - 1; i >= 0; i = nexts[i])
     {
         if (hashCodes[i] == hashCode && tester.equals(item, elements[i]))
         {
             return(i);
         }
     }
     return(-1);
 }