cz.vity.freerapid.plugins.webclient.utils
Class Entities.BinaryEntityMap
java.lang.Object
cz.vity.freerapid.plugins.webclient.utils.Entities.ArrayEntityMap
cz.vity.freerapid.plugins.webclient.utils.Entities.BinaryEntityMap
- All Implemented Interfaces:
- Entities.EntityMap
- Enclosing class:
- Entities
static class Entities.BinaryEntityMap
- extends Entities.ArrayEntityMap
Method Summary |
void |
add(String name,
int value)
Add an entry to this entity map. |
String |
name(int value)
Returns the name of the entity identified by the specified value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Entities.BinaryEntityMap
public Entities.BinaryEntityMap()
- Constructs a new instance of
BinaryEntityMap
.
Entities.BinaryEntityMap
public Entities.BinaryEntityMap(int growBy)
- Constructs a new instance of
ArrayEntityMap
specifying the size by which the underlying array
should grow.
- Parameters:
growBy
- array will be initialized to and will grow by this amount
add
public void add(String name,
int value)
Add an entry to this entity map.
- Specified by:
add
in interface Entities.EntityMap
- Overrides:
add
in class Entities.ArrayEntityMap
- Parameters:
name
- the entity namevalue
- the entity value
name
public String name(int value)
Returns the name of the entity identified by the specified value.
- Specified by:
name
in interface Entities.EntityMap
- Overrides:
name
in class Entities.ArrayEntityMap
- Parameters:
value
- the value to locate
- Returns:
- entity name associated with the specified value