Class IndexListsSpliterator

java.lang.Object
org.apache.jena.mem.store.indexed.IndexListsSpliterator
All Implemented Interfaces:
Spliterator<Triple>

public class IndexListsSpliterator extends Object implements Spliterator<Triple>
Spliterator counterpart to IndexListsIterator: walks the intersection of two IndexLists, dereferencing each surviving triple index against a IndexedTripleSource. Supports recursive splitting for parallel traversal; the split happens on the (smaller) list being scanned, never on the larger list (which is only probed via its reverse-index array).

Detects concurrent modifications by snapshotting triples.size() at construction time and rechecking it at each advance/forEach boundary; throws ConcurrentModificationException if the size has changed.