public interface UnfailingIterator<T extends Item<?>> extends SequenceIterator<T>
ATOMIZING, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD
Modifier and Type | Method and Description |
---|---|
default java.util.Optional<T> |
firstWith(java.util.function.Predicate<? super T> condition) |
default void |
forEach(java.util.function.Consumer<T> consumer) |
T |
next()
Get the next item in the sequence.
|
default GroundedValue<T> |
toGroundedValue() |
default java.util.List<T> |
toList() |
close, forEachOrFail, getProperties, materialize
T next()
next
in interface SequenceIterator<T extends Item<?>>
default void forEach(java.util.function.Consumer<T> consumer)
default java.util.Optional<T> firstWith(java.util.function.Predicate<? super T> condition)
default java.util.List<T> toList()
default GroundedValue<T> toGroundedValue()
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.