Package it.unimi.dsi.fastutil.shorts
Interface ShortBidirectionalIterable
- All Superinterfaces:
java.lang.Iterable<java.lang.Short>,it.unimi.dsi.fastutil.shorts.ShortIterable
- All Known Subinterfaces:
ShortSortedSet
- All Known Implementing Classes:
AbstractShortSortedSet,ShortAVLTreeSet,ShortLinkedOpenCustomHashSet,ShortLinkedOpenHashSet,ShortRBTreeSet,ShortSortedSets.EmptySet,ShortSortedSets.Singleton,ShortSortedSets.SynchronizedSortedSet,ShortSortedSets.UnmodifiableSortedSet
public interface ShortBidirectionalIterable
extends it.unimi.dsi.fastutil.shorts.ShortIterable
A type-specific
Iterable that further strengthens the specification of Iterable.iterator().-
Method Summary
Modifier and Type Method Description ShortBidirectionalIteratoriterator()Returns a type-specificBidirectionalIterator.Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortIterable
forEach, forEach, forEach, intIterator, intSpliterator, spliterator
-
Method Details
-
iterator
ShortBidirectionalIterator iterator()Returns a type-specificBidirectionalIterator.- Specified by:
iteratorin interfacejava.lang.Iterable<java.lang.Short>- Specified by:
iteratorin interfaceit.unimi.dsi.fastutil.shorts.ShortIterable- Returns:
- a type-specific bidirectional iterator.
-