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

public interface AtomicIterator<T extends AtomicValue> extends UnfailingIterator
A SequenceIterator is used to iterate over a sequence. An AtomicIterator is a SequenceIterator that returns atomic values and throws no checked exceptions.
  • Method Details

    • next

      T next()
      Get the next atomic value in the sequence.
      Specified by:
      next in interface SequenceIterator
      Specified by:
      next in interface UnfailingIterator
      Returns:
      the next Item. If there are no more items, return null.