Class KeyMapper
- java.lang.Object
-
- org.opennms.features.topology.app.internal.KeyMapper
-
- All Implemented Interfaces:
Serializable
public class KeyMapper extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
KeyMapper
public KeyMapper(String prefix)
-
-
Method Detail
-
get
public Object get(String key)
Retrieves object with the key.- Parameters:
key
- the name with the desired value.- Returns:
- the object with the key.
-
remove
public void remove(Object removeobj)
Removes object from the mapper.- Parameters:
removeobj
- the object to be removed.
-
removeAll
public void removeAll()
Removes all objects from the mapper.
-
-