|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.analysis_engine.impl.EmptyCasIterator
public class EmptyCasIterator
Trivial CasIterator that returns no CASes.
Constructor Summary | |
---|---|
EmptyCasIterator()
|
Method Summary | |
---|---|
boolean |
hasNext()
Checks if there are more CASes to be returned by the iterator. |
CAS |
next()
Gets the next CAS from the iterator. |
void |
release()
Releases any CASes owned by this CasIterator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmptyCasIterator()
Method Detail |
---|
public boolean hasNext() throws AnalysisEngineProcessException
CasIterator
hasNext
in interface CasIterator
AnalysisEngineProcessException
- if a failure has occurred during processing. If an exception is thrown, this
indicates that processing has aborted, so no further calls to the CasIterator
should be made.public CAS next() throws AnalysisEngineProcessException
CasIterator
next
in interface CasIterator
AnalysisEngineProcessException
- if a failure has occurred during processing. If an exception is thrown, this
indicates that processing has aborted, so no further calls to the CasIterator
should be made.public void release()
CasIterator
release
in interface CasIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |