- All Implemented Interfaces:
Iterator<Node>,org.apache.jena.atlas.iterator.IteratorCloseable<Node>,org.apache.jena.atlas.lib.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, toSetMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jena.util.iterator.ExtendedIterator
forEach, nextOptional
-
Constructor Details
-
ObjectIterator
-
-
Method Details
-
hasNext
public boolean hasNext()Description copied from class:NiceIteratordefault hasNext: no elements, return false. -
next
Description copied from class:NiceIteratordefault next: throw an exception. -
forEachRemaining
-
remove
public void remove()Description copied from class:NiceIteratordefault remove: we have no elements, so we can't remove any.
-