@Experimental public class FilteringIteration<E extends Statement,X extends Exception> extends LookAheadIteration<E,X>
Constructor and Description |
---|
FilteringIteration(CloseableIteration<E,X> wrappedIteration,
Resource subject,
IRI predicate,
Value object,
Resource... context) |
FilteringIteration(Iteration<E,X> wrappedIteration,
Resource subject,
IRI predicate,
Value object,
Resource... context) |
Modifier and Type | Method and Description |
---|---|
protected E |
getNextElement()
Gets the next element.
|
protected void |
handleClose()
Called by
AbstractCloseableIteration.close() when it is called for the first time. |
hasNext, next, remove
close, isClosed
public FilteringIteration(CloseableIteration<E,X> wrappedIteration, Resource subject, IRI predicate, Value object, Resource... context)
protected E getNextElement() throws X extends Exception
LookAheadIteration
getNextElement
in class LookAheadIteration<E extends Statement,X extends Exception>
X extends Exception
protected void handleClose() throws X extends Exception
AbstractCloseableIteration
AbstractCloseableIteration.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 LookAheadIteration<E extends Statement,X extends Exception>
X
X extends Exception
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.