Interface AtomicIterator
- All Superinterfaces:
AutoCloseable, Closeable, SequenceIterator
- All Known Implementing Classes:
AscendingRangeIterator, ATokenIterator, BigRangeIterator, CodepointIterator, DescendingRangeIterator, JTokenIterator, ListIterator.OfAtomic, SingleAtomicIterator, StringValue.CharacterIterator, 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.
-
Method Summary
Methods inherited from interface SequenceIterator
close, discharge
-
Method Details
-
next
AtomicValue next()Get the next atomic value in the sequence.- Specified by:
nextin interfaceSequenceIterator- Returns:
- the next Item. If there are no more items, return null.
-