it.unimi.dsi.fastutil.chars
Interface Char2FloatMap.FastEntrySet
- All Superinterfaces:
- Collection<Char2FloatMap.Entry>, Iterable<Char2FloatMap.Entry>, ObjectCollection<Char2FloatMap.Entry>, ObjectIterable<Char2FloatMap.Entry>, ObjectSet<Char2FloatMap.Entry>, Set<Char2FloatMap.Entry>
- All Known Subinterfaces:
- Char2FloatSortedMap.FastSortedEntrySet
- Enclosing interface:
- Char2FloatMap
public static interface Char2FloatMap.FastEntrySet
- extends ObjectSet<Char2FloatMap.Entry>
An 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 Char2FloatMap.Entry
objects. Some fastutil
maps might return entry set objects of type FastEntrySet
: 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).
Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, size, toArray, toArray |
fastIterator
ObjectIterator<Char2FloatMap.Entry> fastIterator()
- Returns a fast iterator over this entry set; the iterator might return always the same entry object, suitably mutated.
- Returns:
- a fast iterator over this entry set; the iterator might return always the same
Char2FloatMap.Entry
object, suitably mutated.