T - public class FedXQueueCursor<T> extends QueueCursor<CloseableIteration<T,QueryEvaluationException>>
QueueCursor which avoids converting any exception if it is already of
 typeQueryEvaluationException.| Modifier and Type | Method and Description | 
|---|---|
| protected QueryEvaluationException | convert(Exception e)Converts an exception from the underlying iteration to an exception of type X. | 
| static <T> FedXQueueCursor<T> | create(int capacity) | 
| void | handleClose()Called by  AbstractCloseableIteration.close()when it is called for the first time. | 
checkException, done, getNextElement, put, tosshasNext, next, removeclose, isClosedpublic static <T> FedXQueueCursor<T> create(int capacity)
protected QueryEvaluationException convert(Exception e)
QueueIterationconvert in class QueueCursor<CloseableIteration<T,QueryEvaluationException>>public void handleClose()
                 throws QueryEvaluationException
AbstractCloseableIterationAbstractCloseableIteration.close() when it is called for the first time. This method is only called once on each iteration.
 By default, this method does nothing.handleClose in class QueueIteration<CloseableIteration<T,QueryEvaluationException>,QueryEvaluationException>QueryEvaluationExceptionCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.