|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pivot.wtk.Action.NamedActionDictionary
public static final class Action.NamedActionDictionary
Action dictionary implementation.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.pivot.collections.Dictionary |
---|
Dictionary.Pair<K,V> |
Method Summary | |
---|---|
boolean |
containsKey(String id)
Tests the existence of a key in the dictionary. |
Action |
get(String id)
Retrieves the value for the given key. |
Iterator<String> |
iterator()
|
Action |
put(String id,
Action action)
Sets the value of the given key, creating a new entry or replacing the existing value. |
Action |
remove(String id)
Removes a key/value pair from the map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Action get(String id)
Dictionary
get
in interface Dictionary<String,Action>
id
- The key whose value is to be returned.
public Action put(String id, Action action)
Dictionary
put
in interface Dictionary<String,Action>
id
- The key whose value is to be set.action
- The value to be associated with the given key.
public Action remove(String id)
Dictionary
remove
in interface Dictionary<String,Action>
id
- The key whose mapping is to be removed.
public boolean containsKey(String id)
Dictionary
containsKey
in interface Dictionary<String,Action>
id
- The key whose presence in the dictionary is to be tested.
public Iterator<String> iterator()
iterator
in interface Iterable<String>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |