Class IteratorTruncate<T>

java.lang.Object
org.apache.jena.atlas.iterator.IteratorSlotted<T>
org.apache.jena.atlas.iterator.IteratorTruncate<T>
All Implemented Interfaces:
Iterator<T>, IteratorCloseable<T>, Closeable

public final class IteratorTruncate<T> extends IteratorSlotted<T>
Iterate while a condition is true, then stop. This iterator does not touch any elements after the first where the predicate is false.
  • Constructor Details