Class FeatureMap

java.lang.Object
org.apache.uima.collection.impl.cpm.utils.FeatureMap

public class FeatureMap extends Object
The Class FeatureMap.
  • Constructor Details

    • FeatureMap

      public FeatureMap()
      Instantiates a new feature map.
  • Method Details

    • 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(String key)
      Gets the.
      Parameters:
      key - the key
      Returns:
      the configurable feature
    • contains

      public boolean contains(String key)
      Contains.
      Parameters:
      key - the key
      Returns:
      true, if successful
    • size

      public int size()
      Size.
      Returns:
      the int