|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpivot.wtk.Action.ActionDictionary
public static final class Action.ActionDictionary
Action dictionary implementation.
Method Summary | |
---|---|
boolean |
containsKey(java.lang.String id)
Tests the existence of a key in the dictionary. |
Action |
get(java.lang.String id)
Retrieves the value for the given key. |
boolean |
isEmpty()
Tests the emptiness of the dictionary. |
java.util.Iterator<java.lang.String> |
iterator()
|
Action |
put(java.lang.String id,
Action action)
Sets the value of the given key, creating a new entry or replacing the existing value. |
Action |
remove(java.lang.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(java.lang.String id)
Dictionary
get
in interface Dictionary<java.lang.String,Action>
id
- The key whose value is to be returned.
public Action put(java.lang.String id, Action action)
Dictionary
put
in interface Dictionary<java.lang.String,Action>
id
- The key whose value is to be set.action
- The value to be associated with the given key.public Action remove(java.lang.String id)
Dictionary
remove
in interface Dictionary<java.lang.String,Action>
id
- The key whose mapping is to be removed.
public boolean containsKey(java.lang.String id)
Dictionary
containsKey
in interface Dictionary<java.lang.String,Action>
id
- The key whose presence in the dictionary is to be tested.
public boolean isEmpty()
Dictionary
isEmpty
in interface Dictionary<java.lang.String,Action>
public java.util.Iterator<java.lang.String> iterator()
iterator
in interface java.lang.Iterable<java.lang.String>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |