Interface Byte2IntSortedMap.FastSortedEntrySet

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

public static interface Byte2IntSortedMap.FastSortedEntrySet
extends ObjectSortedSet<Byte2IntMap.Entry>, Byte2IntMap.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