public interface Map
Modifier and Type | Interface and Description |
---|---|
static interface |
Map.Entry |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set |
entrySet() |
boolean |
equals(Object o)
Default object equality (is identity).
|
Object |
get(Object key) |
int |
hashCode()
The (default) object hashcode: for transient objects this is simply the
address of the instance in memory, for persistent objects it is the
address at which the instance was first created (maybe in a previous
activation of the VM).
|
boolean |
isEmpty() |
Set |
keySet() |
Object |
put(Object key,
Object value) |
void |
putAll(Map t) |
Object |
remove(Object key) |
int |
size() |
Collection |
values() |
int size()
boolean isEmpty()
boolean containsKey(Object key) throws ClassCastException, NullPointerException
boolean containsValue(Object value) throws NullPointerException
NullPointerException
Object get(Object key) throws ClassCastException, NullPointerException
Object put(Object key, Object value) throws ClassCastException, NullPointerException, UnsupportedOperationException, IllegalArgumentException
Object remove(Object key) throws UnsupportedOperationException
UnsupportedOperationException
void putAll(Map t) throws ClassCastException, NullPointerException, UnsupportedOperationException, IllegalArgumentException, ConcurrentModificationException
void clear() throws UnsupportedOperationException
UnsupportedOperationException
Set keySet()
Collection values()
Set entrySet()
boolean equals(Object o)
Object
int hashCode()
Object