Interface Long2IntSortedMap.FastSortedEntrySet

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

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

  • Method Details