Skip to content

QueueIterator

1 min read

Import: import system.collections;

Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.

QueueIterator

Cursor produced by Queue.iterator().

public class QueueIterator<T>: Iterator<T>

next

Returns the next element, or None if exhausted.

public fun next(): Option<T>