|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CasIterator
An iterator over a collection of CASes. One use for this interface is to allow an application to
iterate over all of the CASes produced by as output of the
AnalysisEngine.processAndOutputNewCASes(CAS) method.
| 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. |
| Method Detail |
|---|
boolean hasNext()
throws AnalysisEngineProcessException
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.
CAS next()
throws AnalysisEngineProcessException
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.void release()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||