public class ObjectMap extends ObjectTable<Object>
Modifier and Type | Field and Description |
---|---|
static ObjectMap |
EMPTY_MAP
An empty immutable
ObjectMap . |
keyTable
currEntry, hashTable, minHashSize, nextTable
Constructor and Description |
---|
ObjectMap(int initialSize) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Object |
clone() |
Object |
get(Object key) |
Object |
getAt(int i) |
boolean |
isEquivalent(ObjectMap other,
IObjectMatcher matcher) |
protected int |
partition(Comparator<Object> c,
int p,
int r) |
Object |
put(Object key,
Object value) |
Object |
remove(Object key) |
protected void |
removeEntry(int i) |
protected void |
resize(int size) |
String |
toString() |
Object[] |
valueArray() |
add, containsKey, hash, isEquivalent, iterator, keyArray, keyArray, keyAt, lookup, toList
capacity, countCollisions, dumpNexts, isEmpty, linkIntoHashTable, rehash, removeEntry, resize, size, sort
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public static final ObjectMap EMPTY_MAP
ObjectMap
.public Object clone()
clone
in class ObjectTable<Object>
public final void clear()
clear
in class ObjectTable<Object>
protected void resize(int size)
resize
in class ObjectTable<Object>
public final Object getAt(int i)
protected final void removeEntry(int i)
removeEntry
in class ObjectTable<Object>
protected int partition(Comparator<Object> c, int p, int r)
public Object[] valueArray()
public boolean isEquivalent(ObjectMap other, IObjectMatcher matcher)
public String toString()
toString
in class ObjectTable<Object>
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.