Modifier and Type | Field and Description |
---|---|
int |
undefined |
currEntry, hashTable, minHashSize, nextTable
Constructor and Description |
---|
CharArrayIntMap(int initialSize,
int undefined) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Object |
clone() |
int |
get(char[] image) |
int |
get(char[] key,
int start,
int length) |
int |
get(int pos) |
int |
getKeyLocation(char[] key,
int start,
int length) |
int |
put(char[] key,
int value) |
int |
put(char[] key,
int start,
int length,
int value) |
void |
putAll(CharArrayIntMap map)
Puts all mappings of map into this map.
|
protected void |
resize(int size) |
addIndex, addIndex, containsKey, containsKey, findKey, hash, hash, hash, keyArray, keyAt, keys, lookup, lookup, lookup, removeEntry, toList
capacity, countCollisions, dumpNexts, isEmpty, linkIntoHashTable, partition, rehash, removeEntry, resize, size, sort
public int put(char[] key, int start, int length, int value)
public int put(char[] key, int value)
public int get(char[] key, int start, int length)
public int get(int pos)
public int getKeyLocation(char[] key, int start, int length)
public int get(char[] image)
public void putAll(CharArrayIntMap map)
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.