<itemvalue="Advances the iterator to the next element of the iteration. Should be called before reading [current]. It the call to `moveNext` returns `true`, then [current] will contain the next element of the iteration until `moveNext` is called again. If the call returns `false`, there are no further elements and [current] should not be used any more. It is safe to call [moveNext] after it has already returned `false`, but it must keep returning `false` and not have any other effect. A call to `moveNext` may throw for various reasons, including a concurrent change to an underlying collection. If that happens, the iterator may be in an inconsistent state, and any further behavior of the iterator is unspecified, including the effect of reading [current]."/>
<itemvalue="Advances the iterator to the next element of the iteration. Should be called before reading [current]. It the call to `moveNext` returns `true`, then [current] will contain the next element of the iteration until `moveNext` is called again. If the call returns `false`, there are no further elements and [current] should not be used any more. It is safe to call [moveNext] after it has already returned `false`, but it must keep returning `false` and not have any other effect. A call to `moveNext` may throw for various reasons, including a concurrent change to an underlying collection. If that happens, the iterator may be in an inconsistent state, and any further behavior of the iterator is unspecified, including the effect of reading [current]."/>
<itemvalue="Allows constant time add, remove-at-ends and peek operations."/>
<itemvalue="Allows constant time add, remove-at-ends and peek operations."/>
<itemvalue="A [Queue] is a collection that can be manipulated at both ends. One can iterate over the elements of a queue through [forEach] or with an [Iterator]. It is generally not allowed to modify the queue (add or remove entries) while an operation on the queue is being performed, for example during a call to [forEach]. Modifying the queue while it is being iterated will most likely break the iteration. This goes both for using the [iterator] directly, or for iterating an `Iterable` returned by a method like [map] or [where]."/>
<itemvalue="A [Queue] is a collection that can be manipulated at both ends. One can iterate over the elements of a queue through [forEach] or with an [Iterator]. It is generally not allowed to modify the queue (add or remove entries) while an operation on the queue is being performed, for example during a call to [forEach]. Modifying the queue while it is being iterated will most likely break the iteration. This goes both for using the [iterator] directly, or for iterating an `Iterable` returned by a method like [map] or [where]."/>
<itemvalue="The structure is efficient for any queue or stack usage."/>