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