Package org.eclipse.rdf4j.model.util
Class PatternIterator<S extends Statement>
java.lang.Object
org.eclipse.rdf4j.model.util.PatternIterator<S>
- All Implemented Interfaces:
Iterator<S>
Excludes an Iterator based on a given basic graph pattern.
-
Field Details
-
filteredIter
-
subj
-
pred
-
obj
-
contexts
-
nextElement
-
nextCalled
private boolean nextCalled
-
-
Constructor Details
-
PatternIterator
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
findNextElement
private void findNextElement() -
remove
public void remove() -
accept
Tests whether or not the specified statement should be returned by this iterator. All objects from the wrapped iterator pass through this method in the same order as they are coming from the wrapped iterator.- Parameters:
st
- The statement to be tested.- Returns:
- true if the object should be returned, false otherwise.
-
notNull
-