it.unimi.dsi.fastutil.bytes
Interface Byte2BooleanMap.FastEntrySet
- All Superinterfaces:
- Collection<Byte2BooleanMap.Entry>, Iterable<Byte2BooleanMap.Entry>, ObjectCollection<Byte2BooleanMap.Entry>, ObjectIterable<Byte2BooleanMap.Entry>, ObjectSet<Byte2BooleanMap.Entry>, Set<Byte2BooleanMap.Entry>
- All Known Subinterfaces:
- Byte2BooleanSortedMap.FastSortedEntrySet
- Enclosing interface:
- Byte2BooleanMap
public static interface Byte2BooleanMap.FastEntrySet
- extends ObjectSet<Byte2BooleanMap.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 Byte2BooleanMap.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<Byte2BooleanMap.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
Byte2BooleanMap.Entry
object, suitably mutated.
Copyright © 2011. All Rights Reserved.