Modifier and Type | Field and Description |
---|---|
protected T[] |
keyTable |
currEntry, hashTable, minHashSize, nextTable
Constructor and Description |
---|
ObjectTable(int initialSize) |
Modifier and Type | Method and Description |
---|---|
protected int |
add(T obj) |
void |
clear() |
java.lang.Object |
clone() |
boolean |
containsKey(T key) |
protected int |
hash(int pos) |
boolean |
isEquivalent(ObjectTable<T> other,
IObjectMatcher matcher) |
java.util.Iterator<T> |
iterator() |
java.lang.Object[] |
keyArray() |
<X> X[] |
keyArray(java.lang.Class<X> c) |
T |
keyAt(int i) |
protected int |
lookup(java.lang.Object buffer) |
protected void |
removeEntry(int i) |
protected void |
resize(int size) |
java.util.List<T> |
toList() |
java.lang.String |
toString() |
capacity, countCollisions, dumpNexts, isEmpty, linkIntoHashTable, partition, rehash, removeEntry, resize, size, sort
protected T[] keyTable
public java.util.List<T> toList()
public T keyAt(int i)
protected final int add(T obj)
protected void removeEntry(int i)
protected final int lookup(java.lang.Object buffer)
public boolean containsKey(T key)
public java.lang.Object[] keyArray()
public <X> X[] keyArray(java.lang.Class<X> c)
public boolean isEquivalent(ObjectTable<T> other, IObjectMatcher matcher)
public java.util.Iterator<T> iterator()
iterator
in interface java.lang.Iterable<T>
public java.lang.String toString()
toString
in class java.lang.Object