Interface Iterator
- All Known Subinterfaces:
Cursor<T>, ProjectedSampler<T>, RealCursor<T>
- All Known Implementing Classes:
AbstractArrayCursor, AbstractArrayLocalizingCursor, AbstractConvertedCursor, AbstractConvertedRealCursor, AbstractCursor, AbstractCursorInt, AbstractLocalizingCursor, AbstractLocalizingCursorInt, AbstractLongListImg.LongListCursor, AbstractLongListImg.LongListLocalizingCursor, ArrayCursor, ArrayLocalizingCursor, ArrayLocalizingSubIntervalCursor, ArraySubIntervalCursor, BiConvertedCursor, BiConvertedRealCursor, CellCursor, CellLocalizingCursor, ConvertedCursor, ConvertedRealCursor, IntervalIterator, IntervalSampler, KDTree.KDTreeCursor, ListCursor, ListLocalizingCursor, LocalizingIntervalIterator, LocalizingRealIntervalIterator, LocalizingZeroMinIntervalIterator, NtreeCursor, OffsetableIntervalIterator, OffsetableLocalizingIntervalIterator, PlanarCursor, PlanarCursor1D, PlanarCursor2D, PlanarLocalizingCursor, PlanarLocalizingCursor1D, PlanarLocalizingCursor2D, PlanarPlaneSubsetCursor, PlanarPlaneSubsetLocalizingCursor, PointSampleList.PointSampleListCursor, RandomAccessibleIntervalCursor, RealPointSampleList.RealPointSampleListCursor, SelectiveSampler, SlicingCursor, WriteConvertedCursor, WriteConvertedRealCursor, ZeroMinIntervalIterator
-
Method Summary
-
Method Details
-
jumpFwd
default void jumpFwd(long steps) Move steps × forward.Highly recommended to override this with a more efficient version.
- Parameters:
steps- number of steps to move forward
-
fwd
void fwd()Move forward. -
reset
void reset()Reset theIterator, that is put it to where it would be if newly created. -
hasNext
boolean hasNext()Returns true if another step forward is possible.- Returns:
- true, if there is another step forward is possible, otherwise false
-