org.apache.uima.cas.impl
Class FSIteratorImplBase<T extends FeatureStructure>

java.lang.Object
  extended by org.apache.uima.cas.impl.FSIteratorImplBase<T>
All Implemented Interfaces:
java.util.Iterator<T>, FSIterator<T>
Direct Known Subclasses:
FSIteratorWrapper, Subiterator, UnambiguousIteratorImpl

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

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


Nested Class Summary
protected static class FSIteratorImplBase.AnnotationComparator<T extends FeatureStructure>
           
 
Constructor Summary
FSIteratorImplBase()
           
 
Method Summary
 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
 

Constructor Detail

FSIteratorImplBase

public FSIteratorImplBase()
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<T extends FeatureStructure>

next

public T next()
Specified by:
next in interface java.util.Iterator<T extends FeatureStructure>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<T extends FeatureStructure>


Copyright © 2013. All Rights Reserved.