Interface Short2CharSortedMap.FastSortedEntrySet

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

public static interface Short2CharSortedMap.FastSortedEntrySet
extends ObjectSortedSet<Short2CharMap.Entry>, Short2CharMap.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).