Package org.eclipse.cdt.core.parser.util
Class ObjectMap
- Restriction:
- This class is not intended to be subclassed by clients.
-
Field Summary
FieldsFields inherited from class org.eclipse.cdt.core.parser.util.ObjectTable
keyTableFields inherited from class org.eclipse.cdt.core.parser.util.HashTable
currEntry, hashTable, minHashSize, nextTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidclear()clone()final Objectfinal ObjectgetAt(int i) booleanisEquivalent(ObjectMap other, IObjectMatcher matcher) protected intpartition(Comparator<Object> c, int p, int r) final Objectprotected final voidremoveEntry(int i) protected voidresize(int size) toString()Object[]Methods inherited from class org.eclipse.cdt.core.parser.util.ObjectTable
add, containsKey, hash, isEquivalent, iterator, keyArray, keyArray, keyAt, lookup, toListMethods inherited from class org.eclipse.cdt.core.parser.util.HashTable
capacity, countCollisions, dumpNexts, isEmpty, linkIntoHashTable, 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
-
EMPTY_MAP
An empty immutableObjectMap.
-
-
Constructor Details
-
ObjectMap
public ObjectMap(int initialSize)
-
-
Method Details
-
clone
- Overrides:
clonein classObjectTable<Object>
-
clear
public final void clear()- Overrides:
clearin classObjectTable<Object>
-
resize
protected void resize(int size) - Overrides:
resizein classObjectTable<Object>
-
put
-
get
-
getAt
-
remove
-
removeEntry
protected final void removeEntry(int i) - Overrides:
removeEntryin classObjectTable<Object>
-
partition
-
valueArray
-
isEquivalent
-
toString
- Overrides:
toStringin classObjectTable<Object>
-