Package net.sf.saxon.tree.iter

## Interface AtomicIterator<T extends AtomicValue>

- All Superinterfaces:
    `java.lang.AutoCloseable`, `java.io.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.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface net.sf.saxon.om.SequenceIterator

      `SequenceIterator.Property`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `T` | `next()` | Get the next atomic value in the sequence.

    - ### Methods inherited from interface net.sf.saxon.om.SequenceIterator

      `close, forEachOrFail, getProperties, materialize`

    - ### Methods inherited from interface net.sf.saxon.tree.iter.UnfailingIterator

      `forEach, toList`

- - ### Method Detail

    - #### 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.