public class LongKeyMap
extends java.lang.Object
The convenience of IntMap is avoiding all the silly wrapping of integers.
Constructor and Description |
---|
LongKeyMap()
Create a new LongKeyMap.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear the hashmap.
|
java.lang.Object |
clone() |
java.lang.Object |
get(long key)
Puts a new value in the property table with the appropriate flags
|
java.util.Iterator |
iterator()
Returns an iterator of the keys.
|
java.lang.Object |
put(long key,
java.lang.Object value)
Puts a new value in the property table with the appropriate flags
|
java.lang.Object |
remove(long key)
Deletes the entry.
|
int |
size()
Returns the current number of entries in the map.
|
java.lang.String |
toString() |
public void clear()
public int size()
public java.lang.Object get(long key)
public java.lang.Object put(long key, java.lang.Object value)
public java.lang.Object remove(long key)
public java.util.Iterator iterator()
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object