Modifier and Type | Field and Description |
---|---|
static CharArrayObjectMap<?> |
EMPTY_MAP
An empty immutable
CharArrayObjectMap . |
currEntry, hashTable, minHashSize, nextTable
Constructor and Description |
---|
CharArrayObjectMap(int initialSize) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Object |
clone() |
boolean |
containsValue(Object v)
Checks if the map values contain the given object.
|
static <T> CharArrayObjectMap<T> |
emptyMap() |
T |
get(char[] key) |
T |
get(char[] key,
int start,
int length) |
T |
getAt(int i) |
protected int |
partition(Comparator<Object> c,
int p,
int r) |
T |
put(char[] key,
int start,
int length,
T value) |
T |
put(char[] key,
T value) |
T |
remove(char[] key,
int start,
int length) |
protected void |
resize(int size) |
String |
toString() |
Object[] |
valueArray() |
Object[] |
valueArray(Class<?> clazz) |
Collection<T> |
values()
Returns a
Collection view of the values contained in this map. |
addIndex, addIndex, containsKey, containsKey, findKey, hash, hash, hash, keyArray, keyAt, keys, lookup, lookup, lookup, removeEntry, toList
capacity, countCollisions, dumpNexts, isEmpty, linkIntoHashTable, rehash, removeEntry, resize, size, sort
public static final CharArrayObjectMap<?> EMPTY_MAP
CharArrayObjectMap
.public static <T> CharArrayObjectMap<T> emptyMap()
public final T get(char[] key, int start, int length)
public final T get(char[] key)
public final T getAt(int i)
public final T remove(char[] key, int start, int length)
protected int partition(Comparator<Object> c, int p, int r)
public Object[] valueArray()
public Collection<T> values()
Collection
view of the values contained in this map.
The collection is backed by the map, so changes to the map are reflected
in the collection, and vice-versa.public boolean containsValue(Object v)
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.