Package org.apache.uima.cas_data.impl

# Class CasDataImpl

java.lang.Object
org.apache.uima.cas_data.impl.CasDataImpl

All Implemented Interfaces:
  `Serializable`, `CasData`

public class CasDataImpl extends Object implements CasData

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CasDataImpl()`
  Initializes FeatureStructure list

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addFeatureStructure(FeatureStructure aFS)`
  Adds a new FeatureStructure to the list
  `Iterator<FeatureStructure>`
  `getFeatureStructures()`
  Returns an iterator over FeatureStructure list.
  `void`
  `removeFeatureStructure(FeatureStructure aFS)`
  Removes named FeatureStructure from the list
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### CasDataImpl

    public CasDataImpl()
    Initializes FeatureStructure list

- ## Method Details

  - ### getFeatureStructures

    public Iterator<FeatureStructure> getFeatureStructures()
    Returns an iterator over FeatureStructure list.
    Specified by:
      `getFeatureStructures` in interface `CasData`
    Returns:
      an iterator over FeatureStructure list

  - ### addFeatureStructure

    public void addFeatureStructure(FeatureStructure aFS)
    Adds a new FeatureStructure to the list
    Specified by:
      `addFeatureStructure` in interface `CasData`
    Parameters:
      `aFS` - - new FeatureStructure to be added

  - ### removeFeatureStructure

    public void removeFeatureStructure(FeatureStructure aFS)
    Removes named FeatureStructure from the list
    Specified by:
      `removeFeatureStructure` in interface `CasData`
    Parameters:
      `aFS` - - FeatureStructure to remove

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`