org.apache.uima.cas.impl

## Class FSIteratorImplBase<T extends FeatureStructure>

- java.lang.Object
- - org.apache.uima.cas.impl.FSIteratorImplBase<T>

- All Implemented Interfaces:
    Iterator<T>, FSIterator<T>
  Direct Known Subclasses:
    FSIndexFlat.FSIteratorFlat, FSIteratorWrapper, FSIteratorWrapperDoubleCheck, Subiterator

      public abstract class FSIteratorImplBase<T extends FeatureStructure>
      extends Object
      implements FSIterator<T>

  Base class for FSIterator implementations. Defines the hasNext, next, and remove methods required by java.util.Iterator.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FSIteratorImplBase()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `hasNext()`
    `T` | `next()`
    `void` | `remove()`

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

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

    - ### Methods inherited from interface org.apache.uima.cas.FSIterator

      `copy, get, isValid, moveTo, moveToFirst, moveToLast, moveToNext, moveToPrevious`

    - ### Methods inherited from interface java.util.Iterator

      `forEachRemaining`

- - ### Constructor Detail

    - #### FSIteratorImplBase

          public FSIteratorImplBase()

  - ### Method Detail

    - #### hasNext

          public boolean hasNext()

      Specified by:
        `hasNext` in interface `Iterator<T extends FeatureStructure>`

    - #### next

          public T next()

      Specified by:
        `next` in interface `Iterator<T extends FeatureStructure>`

    - #### remove

          public void remove()

      Specified by:
        `remove` in interface `Iterator<T extends FeatureStructure>`

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