Package org.eclipse.cdt.core.parser.util
Class ObjectTable<T>
java.lang.Object
org.eclipse.cdt.core.parser.util.HashTable
org.eclipse.cdt.core.parser.util.ObjectTable<T>
- Restriction:
- This class is not intended to be subclassed by clients.
-
Field Summary
FieldsFields inherited from class org.eclipse.cdt.core.parser.util.HashTable
currEntry, hashTable, minHashSize, nextTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final intvoidclear()clone()booleancontainsKey(T key) protected final inthash(int pos) booleanisEquivalent(ObjectTable<T> other, IObjectMatcher matcher) iterator()Object[]keyArray()<X> X[]keyAt(int i) protected final intprotected voidremoveEntry(int i) protected voidresize(int size) toList()toString()Methods inherited from class org.eclipse.cdt.core.parser.util.HashTable
capacity, countCollisions, dumpNexts, isEmpty, linkIntoHashTable, partition, rehash, removeEntry, resize, size, sortMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
keyTable
-
-
Constructor Details
-
ObjectTable
public ObjectTable(int initialSize)
-
-
Method Details
-
clone
-
toList
-
keyAt
-
clear
public void clear() -
hash
protected final int hash(int pos) -
resize
protected void resize(int size) -
add
-
removeEntry
protected void removeEntry(int i) -
lookup
-
containsKey
-
keyArray
-
keyArray
-
isEquivalent
-
iterator
-
toString
-