|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.AbstractMap
java.util.HashMap
com.fg.ftreenodes.MapParams
Represents a HashMap which implements
Params interface in such a way that
getMap() method returns self-reference and
getList() method returns List of objects which
is stored in the MapParams under the key=null or
returns null if there is no List stored.
Params,
Serialized Form| Field Summary |
| Fields inherited from interface com.fg.ftreenodes.Params |
empty |
| Constructor Summary | |
MapParams()
|
|
| Method Summary | |
java.util.List |
getList()
Method returns a java.util.List of unnamed parameters or null |
java.util.Map |
getMap()
Method returns a java.util.Map of named parameters or null |
| Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
equals, hashCode |
| Constructor Detail |
public MapParams()
| Method Detail |
public java.util.List getList()
Paramsnull
if there are no unnamed parameters.
- Specified by:
getList in interface Params
- Returns:
- a java.util.List of parameters or
null
if there are no such parameters.
public java.util.Map getMap()
Paramsnull
if there are no named parameters.
- Specified by:
getMap in interface Params
- Returns:
- a java.util.Map of named parameters or
null
if there are no named parameters.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||