public class EmptyCasIterator extends Object implements CasIterator
| Constructor and Description |
|---|
EmptyCasIterator() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public boolean hasNext()
throws AnalysisEngineProcessException
CasIteratorhasNext in interface CasIteratorAnalysisEngineProcessException - 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
CasIteratornext in interface CasIteratorAnalysisEngineProcessException - 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()
CasIteratorrelease in interface CasIteratorCopyright © 2006–2022 The Apache Software Foundation. All rights reserved.