- All Implemented Interfaces:
Iterator<Node>
,IteratorCloseable<Node>
,Closeable
,ClosableIterator<Node>
,ExtendedIterator<Node>
Helper class for listObjects. Because literal indexing means that the
domain of the object map is not a node, but an indexing value (shared by
a bunch of different literal nodes), getting the list of objects requires
mapping that indexing value to all the triples that use it, and then
filtering those triples for their objects, removing duplicates.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.jena.util.iterator.NiceIterator
andThen, andThen, asList, asSet, close, close, emptyIterator, filterDrop, filterKeep, mapWith, removeNext, toList, toSet
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.jena.util.iterator.ExtendedIterator
forEach, nextOptional
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
ObjectIterator
-
-
Method Details
-
hasNext
public boolean hasNext()Description copied from class:NiceIterator
default hasNext: no elements, return false. -
next
Description copied from class:NiceIterator
default next: throw an exception. -
remove
public void remove()Description copied from class:NiceIterator
default remove: we have no elements, so we can't remove any.
-