java.util.Collection<Float2DoubleMap.Entry>, Float2DoubleMap.FastEntrySet, java.lang.Iterable<Float2DoubleMap.Entry>, ObjectBidirectionalIterable<Float2DoubleMap.Entry>, ObjectCollection<Float2DoubleMap.Entry>, ObjectIterable<Float2DoubleMap.Entry>, ObjectSet<Float2DoubleMap.Entry>, ObjectSortedSet<Float2DoubleMap.Entry>, java.util.Set<Float2DoubleMap.Entry>, java.util.SortedSet<Float2DoubleMap.Entry>public static interface Float2DoubleSortedMap.FastSortedEntrySet extends ObjectSortedSet<Float2DoubleMap.Entry>, Float2DoubleMap.FastEntrySet
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).
| Modifier and Type | Method | Description |
|---|---|---|
ObjectBidirectionalIterator<Float2DoubleMap.Entry> |
fastIterator() |
Returns a fast iterator over this entry set; the iterator might return always
the same entry instance, suitably mutated.
|
ObjectBidirectionalIterator<Float2DoubleMap.Entry> |
fastIterator(Float2DoubleMap.Entry from) |
Returns a fast iterator over this entry set, starting from a given element of
the domain (optional operation); the iterator might return always the same
entry instance, suitably mutated.
|
fastForEachheadSet, iterator, iterator, subSet, tailSetObjectBidirectionalIterator<Float2DoubleMap.Entry> fastIterator()
fastIterator in interface Float2DoubleMap.FastEntrySetMap.Entry instance, suitably mutated.ObjectBidirectionalIterator<Float2DoubleMap.Entry> fastIterator(Float2DoubleMap.Entry from)
from - an element to start from.from;
the iterator might return always the same entry object, suitably
mutated.