public class KeyMapper extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
Object |
get(String key)
Retrieves object with the key.
|
String |
key(Object o)
Gets key for an object.
|
void |
remove(Object removeobj)
Removes object from the mapper.
|
void |
removeAll()
Removes all objects from the mapper.
|
public KeyMapper(String prefix)
public Object get(String key)
key
- the name with the desired value.public void remove(Object removeobj)
removeobj
- the object to be removed.public void removeAll()
Copyright © 2021. All rights reserved.