Interface Int2ReferenceSortedMap.FastSortedEntrySet<V>

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

public static interface Int2ReferenceSortedMap.FastSortedEntrySet<V>
extends ObjectSortedSet<Int2ReferenceMap.Entry<V>>, Int2ReferenceMap.FastEntrySet<V>
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).