Class AnnotationComboIterator.AnnotationIterator

java.lang.Object
opennlp.uima.util.AnnotationComboIterator.AnnotationIterator
All Implemented Interfaces:
Iterable<org.apache.uima.cas.text.AnnotationFS>, Iterator<org.apache.uima.cas.text.AnnotationFS>
Enclosing class:
AnnotationComboIterator

private class AnnotationComboIterator.AnnotationIterator extends Object implements Iterable<org.apache.uima.cas.text.AnnotationFS>, Iterator<org.apache.uima.cas.text.AnnotationFS>
  • Constructor Details

    • AnnotationIterator

      private AnnotationIterator()
  • Method Details

    • iterator

      Specified by:
      iterator in interface Iterable<org.apache.uima.cas.text.AnnotationFS>
    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<org.apache.uima.cas.text.AnnotationFS>
    • next

      public org.apache.uima.cas.text.AnnotationFS next()
      Specified by:
      next in interface Iterator<org.apache.uima.cas.text.AnnotationFS>
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<org.apache.uima.cas.text.AnnotationFS>