예제 #1
0
 private void setFirstEntry(Entry<K, V> node, int index, Entry[] table) {
   if (SIZE > MAX) {
     reSize(table.length * 2);
   }
   table[index] = node;
   node.next = null;
 }
예제 #2
0
 private void addEntryLast(Entry<K, V> entry, Entry<K, V> node) {
   if (SIZE > MAX) {
     reSize(table.length * 2);
   }
   entry.next = node;
 }