public final class IdentityLinearHashtable<K,V> extends LinearHashtable<K,V>
LinearHashtable
except that keys are hashed using
System.identityHashCode(java.lang.Object)
and compared using ==
.
This class is not thread-safe.
LinearHashtable.EntryIterator<K,V>, LinearHashtable.KeyIterator<K>, LinearHashtable.ValueIterator<V>
table
Constructor and Description |
---|
IdentityLinearHashtable() |
IdentityLinearHashtable(int capacity) |
Modifier and Type | Method and Description |
---|---|
V |
get(K key) |
V |
put(K key,
V value) |
V |
remove(K key) |
clear, clone, contains, containsKey, copyElementsInto, copyKeysInto, elements, entries, getKeyValueTable, isEmpty, keys, size, toString