scalax.collection.generic.GroupIterator
Type of internal level elements iterated over as it may be different from A
.
Type of internal level elements iterated over as it may be different from A
.
Converts the current element of the level-specific iterator
to A
.
Converts the current element of the level-specific iterator
to A
.
Internal level-specific iterator.
Internal level-specific iterator. When referencing iterators take care to
override with val
.
To avoid an infinite loop on initialization time, lazy
should be
used when overriding.
To avoid an infinite loop on initialization time, lazy
should be
used when overriding.
Current element of iterator
converted to A
.
Current element of iterator
converted to A
. This variable will be set
by the predefined level-specific implementations of hasNext
so the
user just needs to formally initialize it to any value.
(Changed in version 2.8.0) collect
has changed. The previous behavior can be reproduced with toSeq
.
The value returned by the last call of next
.
The value returned by the last call of next
.
Cached implementation of hasNext
which also skips in the outer iterator
bound to this inner iterator if this
iterator has been exhausted.
Cached implementation of hasNext
which also skips in the outer iterator
bound to this inner iterator if this
iterator has been exhausted.
The next element of this
iterator also cashed in current
.
The next element of this
iterator also cashed in current
.
Optional cashed hasNext result to avoid repeated calculations.
Optional cashed hasNext result to avoid repeated calculations.
Iterator for the bottom level group. For instance, if we iterate over cities grouped by countries, the implementation of this trait will correspond to the city iterator.