Class ObjectMap
- Restriction:
- This class is not intended to be subclassed by clients.
-
Field Summary
FieldsFields inherited from class ObjectTable
keyTableFields inherited from class 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 ObjectTable
add, containsKey, hash, isEquivalent, iterator, keyArray, keyArray, keyAt, lookup, toListMethods inherited from class HashTable
capacity, countCollisions, dumpNexts, isEmpty, linkIntoHashTable, rehash, removeEntry, resize, size, sortMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface 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>
-