Interface Reference2LongSortedMap.FastSortedEntrySet<K>

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

public static interface Reference2LongSortedMap.FastSortedEntrySet<K>
extends ObjectSortedSet<Reference2LongMap.Entry<K>>, Reference2LongMap.FastEntrySet<K>
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).