|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.grogra.util.Map.Chain
public static class Map.Chain
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface de.grogra.util.Map |
---|
Map.Chain |
Field Summary |
---|
Fields inherited from interface de.grogra.util.Map |
---|
DEFAULT_VALUE, EMPTY_MAP |
Constructor Summary | |
---|---|
Map.Chain(Map a)
|
|
Map.Chain(Map a,
Map b)
|
Method Summary | |
---|---|
static Map |
add(Map a,
Map b)
|
java.lang.Object |
get(java.lang.Object key,
java.lang.Object defaultValue)
Returns the value associated with key . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Map.Chain(Map a)
public Map.Chain(Map a, Map b)
Method Detail |
---|
public static Map add(Map a, Map b)
public java.lang.Object get(java.lang.Object key, java.lang.Object defaultValue)
Map
key
. If there is
no value associated with key
, defaultValue
is returned.
get
in interface Map
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 |