| java.lang.Object sun.text.IntHashtable
IntHashtable | final public class IntHashtable (Code) | | Simple internal class for doing hash mapping. Much, much faster than the
standard Hashtable for integer to integer mappings,
and doesn't require object creation.
If a key is not found, the defaultValue is returned.
Note: the keys are limited to values above Integer.MIN_VALUE+1.
|
IntHashtable | public IntHashtable()(Code) | | |
IntHashtable | public IntHashtable(int initialSize)(Code) | | |
get | public int get(int key)(Code) | | |
getDefaultValue | public int getDefaultValue()(Code) | | |
hashCode | public int hashCode()(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
put | public void put(int key, int value)(Code) | | |
putInternal | public void putInternal(int key, int value)(Code) | | |
remove | public void remove(int key)(Code) | | |
setDefaultValue | public void setDefaultValue(int newValue)(Code) | | |
|
|