Class FeatureMap
- java.lang.Object
-
- org.apache.uima.collection.impl.cpm.utils.FeatureMap
-
public class FeatureMap extends java.lang.ObjectThe Class FeatureMap.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.ArrayListentitiesThe 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 voidadd(ConfigurableFeature entity)Adds the.booleancontains(java.lang.String key)Contains.ConfigurableFeatureget(int index)Gets the.ConfigurableFeatureget(java.lang.String key)Gets the.intsize()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
-
-