Package org.apache.commons.lang
Interface Entities.EntityMap
-
- All Known Implementing Classes:
Entities.ArrayEntityMap
,Entities.BinaryEntityMap
,Entities.HashEntityMap
,Entities.LookupEntityMap
,Entities.MapIntMap
,Entities.PrimitiveEntityMap
,Entities.TreeEntityMap
- Enclosing class:
- Entities
static interface Entities.EntityMap
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(java.lang.String name, int value)
Add an entry to this entity map.java.lang.String
name(int value)
Returns the name of the entity identified by the specified value.int
value(java.lang.String name)
Returns the value of the entity identified by the specified name.
-
-
-
Method Detail
-
add
void add(java.lang.String name, int value)
Add an entry to this entity map.
- Parameters:
name
- the entity namevalue
- the entity value
-
name
java.lang.String name(int value)
Returns the name of the entity identified by the specified value.
- Parameters:
value
- the value to locate- Returns:
- entity name associated with the specified value
-
value
int value(java.lang.String name)
Returns the value of the entity identified by the specified name.
- Parameters:
name
- the name to locate- Returns:
- entity value associated with the specified name
-
-