|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.util.IntHashMap<T>
T - any Object.public final class IntHashMap<T>
The IntHashMap is a very efficient int hash map.
| Constructor Summary | |
|---|---|
IntHashMap()
Creates a new instance of IntHashMap. |
|
| Method Summary | |
|---|---|
void |
clear()
Clears the interned objects. |
T |
get(int pKey)
Gets the value for key. |
T |
put(int pKey,
T pValue)
Puts the value for the given key. |
T |
remove(int pKey)
Removes the key. |
int |
size()
Gets the amount of internalized objects. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IntHashMap()
IntHashMap.
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic void clear()
public int size()
public T put(int pKey,
T pValue)
pKey - the key.pValue - the value.
public T get(int pKey)
pKey - the key
public T remove(int pKey)
pKey - the key
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||