Interface Reference2FloatSortedMap.FastSortedEntrySet<K>

All Superinterfaces:
Collection<Reference2FloatMap.Entry<K>>, Iterable<Reference2FloatMap.Entry<K>>, ObjectBidirectionalIterable<Reference2FloatMap.Entry<K>>, ObjectCollection<Reference2FloatMap.Entry<K>>, ObjectIterable<Reference2FloatMap.Entry<K>>, ObjectSet<Reference2FloatMap.Entry<K>>, ObjectSortedSet<Reference2FloatMap.Entry<K>>, Reference2FloatMap.FastEntrySet<K>, SequencedCollection<Reference2FloatMap.Entry<K>>, SequencedSet<Reference2FloatMap.Entry<K>>, Set<Reference2FloatMap.Entry<K>>, SortedSet<Reference2FloatMap.Entry<K>>
Enclosing interface:
Reference2FloatSortedMap<K>

public static interface Reference2FloatSortedMap.FastSortedEntrySet<K> extends ObjectSortedSet<Reference2FloatMap.Entry<K>>, Reference2FloatMap.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).

  • Method Details