public final class JSHashMap extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
JSHashMap.Cursor |
| Constructor and Description |
|---|
JSHashMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
Object |
get(Object key) |
JSHashMap.Cursor |
getEntries() |
boolean |
has(Object key) |
void |
put(Object key,
Object value)
Insert new entry, if key does not already exist, otherwise update the existing entry's value.
|
boolean |
remove(Object key) |
int |
size() |
String |
toString() |
public int size()
public void put(Object key, Object value)
public boolean has(Object key)
public boolean remove(Object key)
public void clear()
public JSHashMap.Cursor getEntries()