Class CharArrayIntMap
java.lang.Object
org.eclipse.cdt.core.parser.util.HashTable
org.eclipse.cdt.core.parser.util.CharTable
org.eclipse.cdt.core.parser.util.CharArrayIntMap
- All Implemented Interfaces:
Cloneable
- Restriction:
- This class is not intended to be subclassed by clients.
-
Field Summary
FieldsFields inherited from class HashTable
currEntry, hashTable, minHashSize, nextTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()clone()intget(char[] image) intget(char[] key, int start, int length) intget(int pos) intgetKeyLocation(char[] key, int start, int length) intput(char[] key, int value) intput(char[] key, int start, int length, int value) voidputAll(CharArrayIntMap map) Puts all mappings of map into this map.protected voidresize(int size) Methods inherited from class CharTable
addIndex, addIndex, containsKey, containsKey, findKey, hash, hash, hash, keyArray, keyAt, keys, lookup, lookup, lookup, removeEntry, toListMethods inherited from class HashTable
capacity, countCollisions, dumpNexts, isEmpty, linkIntoHashTable, partition, rehash, removeEntry, resize, size, sort
-
Field Details
-
undefined
public final int undefined
-
-
Constructor Details
-
CharArrayIntMap
public CharArrayIntMap(int initialSize, int undefined)
-
-
Method Details
-
resize
-
clear
-
clone
-
put
public int put(char[] key, int start, int length, int value) -
put
public int put(char[] key, int value) -
get
public int get(char[] key, int start, int length) -
get
public int get(int pos) -
getKeyLocation
public int getKeyLocation(char[] key, int start, int length) -
get
public int get(char[] image) -
putAll
Puts all mappings of map into this map. The keys are not cloned.- Since:
- 5.0
-