Class FeatureMap
- java.lang.Object
-
- org.apache.uima.collection.impl.cpm.utils.FeatureMap
-
public class FeatureMap extends java.lang.Object
The Class FeatureMap.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.ArrayList
entities
The entities.
-
Constructor Summary
Constructors Constructor Description FeatureMap()
Instantiates a new feature map.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(ConfigurableFeature entity)
Adds the.boolean
contains(java.lang.String key)
Contains.ConfigurableFeature
get(int index)
Gets the.ConfigurableFeature
get(java.lang.String key)
Gets the.int
size()
Size.
-
-
-
Method Detail
-
add
public void add(ConfigurableFeature entity)
Adds the.- Parameters:
entity
- the entity
-
get
public ConfigurableFeature get(int index)
Gets the.- Parameters:
index
- the index- Returns:
- the configurable feature
-
get
public ConfigurableFeature get(java.lang.String key)
Gets the.- Parameters:
key
- the key- Returns:
- the configurable feature
-
contains
public boolean contains(java.lang.String key)
Contains.- Parameters:
key
- the key- Returns:
- true, if successful
-
size
public int size()
Size.- Returns:
- the int
-
-