|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.server.KeyMapper<V>
public class KeyMapper<V>
KeyMapper is the simple two-way map for generating textual keys
for objects and retrieving the objects later with the key.
| Constructor Summary | |
|---|---|
KeyMapper()
|
|
| Method Summary | |
|---|---|
V |
get(java.lang.String key)
Retrieves object with the key. |
java.lang.String |
key(V o)
Gets key for an object. |
void |
remove(V removeobj)
Removes object from the mapper. |
void |
removeAll()
Removes all objects from the mapper. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KeyMapper()
| Method Detail |
|---|
public java.lang.String key(V o)
o - the object.public V get(java.lang.String key)
key - the name with the desired value.
public void remove(V removeobj)
removeobj - the object to be removed.public void removeAll()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||