|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Map
A single-method interface which maps keys to values.
Nested Class Summary | |
---|---|
static class |
Map.Chain
|
Field Summary | |
---|---|
static java.lang.Object |
DEFAULT_VALUE
|
static Map |
EMPTY_MAP
|
Method Summary | |
---|---|
java.lang.Object |
get(java.lang.Object key,
java.lang.Object defaultValue)
Returns the value associated with key . |
Field Detail |
---|
static final java.lang.Object DEFAULT_VALUE
static final Map EMPTY_MAP
Method Detail |
---|
java.lang.Object get(java.lang.Object key, java.lang.Object defaultValue)
key
. If there is
no value associated with key
, defaultValue
is returned.
key
- a key for the mapdefaultValue
- the default value
defaultValue
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |