Package it.unimi.dsi.fastutil.longs
Interface LongBidirectionalIterable
- All Superinterfaces:
java.lang.Iterable<java.lang.Long>,LongIterable
- All Known Subinterfaces:
LongSortedSet
- All Known Implementing Classes:
AbstractLongSortedSet,LongAVLTreeSet,LongLinkedOpenCustomHashSet,LongLinkedOpenHashSet,LongRBTreeSet,LongSortedSets.EmptySet,LongSortedSets.Singleton,LongSortedSets.SynchronizedSortedSet,LongSortedSets.UnmodifiableSortedSet
public interface LongBidirectionalIterable extends LongIterable
A type-specific
Iterable that further strengthens the specification
of Iterable.iterator().-
Method Summary
Modifier and Type Method Description LongBidirectionalIteratoriterator()Returns a type-specificBidirectionalIterator.Methods inherited from interface it.unimi.dsi.fastutil.longs.LongIterable
forEach, forEach, forEach, longIterator, longSpliterator, spliterator
-
Method Details
-
iterator
LongBidirectionalIterator iterator()Returns a type-specificBidirectionalIterator.- Specified by:
iteratorin interfacejava.lang.Iterable<java.lang.Long>- Specified by:
iteratorin interfaceLongIterable- Returns:
- a type-specific bidirectional iterator.
- See Also:
Iterable.iterator()
-