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 and Description
    `CasDataImpl()` Initializes FeatureStructure list

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### CasDataImpl

          public CasDataImpl()

      Initializes FeatureStructure list

  - ### Method Detail

    - #### 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`

Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.