Interface AtomicIterator<T extends AtomicValue>
- All Superinterfaces:
AutoCloseable, Closeable, SequenceIterator, UnfailingIterator
- All Known Implementing Classes:
ATokenIterator, BigRangeIterator, JTokenIterator, ListIterator.Atomic, RangeIterator, ReverseRangeIterator, SingleAtomicIterator, StringValue.CharacterIterator, StringValue.UnicodeCharacterIterator, Whitespace.Tokenizer
A SequenceIterator is used to iterate over a sequence. An AtomicIterator
is a SequenceIterator that returns atomic values and throws no checked exceptions.
-
Nested Class Summary
Nested classes/interfaces inherited from interface SequenceIterator
SequenceIterator.Property -
Method Summary
Methods inherited from interface SequenceIterator
close, forEachOrFail, getProperties, materializeMethods inherited from interface UnfailingIterator
forEach, toList
-
Method Details
-
next
T next()Get the next atomic value in the sequence.- Specified by:
nextin interfaceSequenceIterator- Specified by:
nextin interfaceUnfailingIterator- Returns:
- the next Item. If there are no more items, return null.
-