static class Entities.PrimitiveEntityMap extends java.lang.Object implements Entities.EntityMap
Constructor and Description |
---|
PrimitiveEntityMap() |
Modifier and Type | Method and 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.
|
public void add(java.lang.String name, int value)
Add an entry to this entity map.
add
in interface Entities.EntityMap
name
- the entity namevalue
- the entity valuepublic java.lang.String name(int value)
Returns the name of the entity identified by the specified value.
name
in interface Entities.EntityMap
value
- the value to locatepublic int value(java.lang.String name)
Returns the value of the entity identified by the specified name.
value
in interface Entities.EntityMap
name
- the name to locate
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.