Class AbstractCursorInt<T>

java.lang.Object
net.imglib2.AbstractEuclideanSpace
net.imglib2.AbstractCursorInt<T>
Type Parameters:
T -
All Implemented Interfaces:
Iterator<T>, Cursor<T>, EuclideanSpace, Iterator, Localizable, RealCursor<T>, RealLocalizable, Sampler<T>, Typed<T>
Direct Known Subclasses:
AbstractArrayCursor, ListCursor, PlanarCursor, PlanarPlaneSubsetCursor

public abstract class AbstractCursorInt<T> extends AbstractEuclideanSpace implements Cursor<T>
Abstract implementation of Cursor. Java's Iterator interface is implemented by mapping to abstract Iterator.fwd() and Sampler.get().

For localization, default implementations are available that all build on the abstract int variant. For particular cursors, this may be implemented more efficiently saving at least one loop over n.

This is identical to AbstractCursor, except that default implementations build on the abstract int instead of long variant here.