fromIterator method
Returns a TreeIterator
for the map entries, starting at the anchor
key.
By default, the returned iterator includes anchor
on the first movement;
if inclusive
is set to false
, anchor
is excluded. The behavior of
TreeIterator.moveNext
and TreeIterator.movePrevious
is reversed when
reversed
is set to true
.
Implementation
TreeIterator<SortedMapEntry<K, V>> fromIterator(
K anchor, {
bool reversed = false,
bool inclusive = true,
}) => _treeSet.fromIterator(
SortedMapEntry<K, V>._key(anchor),
reversed: reversed,
inclusive: inclusive,
);