public interface CasIterator
AnalysisEngine.processAndOutputNewCASes(CAS) method.| 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. | 
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()
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.