Package org.eclipse.cdt.core.parser.util
Class ObjectMap
- Restriction:
- This class is not intended to be subclassed by clients.
-
Field Summary
Fields inherited from class org.eclipse.cdt.core.parser.util.ObjectTable
keyTable
Fields inherited from class org.eclipse.cdt.core.parser.util.HashTable
currEntry, hashTable, minHashSize, nextTable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
clear()
clone()
final Object
final Object
getAt
(int i) boolean
isEquivalent
(ObjectMap other, IObjectMatcher matcher) protected int
partition
(Comparator<Object> c, int p, int r) final Object
protected final void
removeEntry
(int i) protected void
resize
(int size) toString()
Object[]
Methods inherited from class org.eclipse.cdt.core.parser.util.ObjectTable
add, containsKey, hash, isEquivalent, iterator, keyArray, keyArray, keyAt, lookup, toList
Methods inherited from class org.eclipse.cdt.core.parser.util.HashTable
capacity, countCollisions, dumpNexts, isEmpty, linkIntoHashTable, rehash, removeEntry, resize, size, sort
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
clone
in classObjectTable<Object>
-
clear
public final void clear()- Overrides:
clear
in classObjectTable<Object>
-
resize
protected void resize(int size) - Overrides:
resize
in classObjectTable<Object>
-
put
-
get
-
getAt
-
remove
-
removeEntry
protected final void removeEntry(int i) - Overrides:
removeEntry
in classObjectTable<Object>
-
partition
-
valueArray
-
isEquivalent
-
toString
- Overrides:
toString
in classObjectTable<Object>
-