Interface Long2ShortSortedMap.FastSortedEntrySet

All Superinterfaces:
Collection<Long2ShortMap.Entry>, Iterable<Long2ShortMap.Entry>, Long2ShortMap.FastEntrySet, ObjectBidirectionalIterable<Long2ShortMap.Entry>, ObjectCollection<Long2ShortMap.Entry>, ObjectIterable<Long2ShortMap.Entry>, ObjectSet<Long2ShortMap.Entry>, ObjectSortedSet<Long2ShortMap.Entry>, Set<Long2ShortMap.Entry>, SortedSet<Long2ShortMap.Entry>
Enclosing interface:
Long2ShortSortedMap

public static interface Long2ShortSortedMap.FastSortedEntrySet
extends ObjectSortedSet<Long2ShortMap.Entry>, Long2ShortMap.FastEntrySet
A sorted entry set providing fast iteration.

In some cases (e.g., hash-based classes) iteration over an entry set requires the creation of a large number of entry objects. Some fastutil maps might return entry set objects of type FastSortedEntrySet: in this case, fastIterator() will return an iterator that is guaranteed not to create a large number of objects, possibly by returning always the same entry (of course, mutated).