|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Short2BooleanMap.FastEntrySet
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 Map.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).
Method Summary | |
---|---|
ObjectIterator<Short2BooleanMap.Entry> |
fastIterator()
Returns a fast iterator over this entry set; the iterator might return always the same entry object, suitably mutated. |
Methods inherited from interface it.unimi.dsi.fastutil.objects.ObjectSet |
---|
iterator, remove |
Methods inherited from interface it.unimi.dsi.fastutil.objects.ObjectCollection |
---|
objectIterator, toArray |
Methods inherited from interface java.util.Set |
---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, size, toArray, toArray |
Method Detail |
---|
ObjectIterator<Short2BooleanMap.Entry> fastIterator()
Map.Entry
object, suitably mutated.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |