Class CellCursor<T extends NativeType<T>,C extends Cell<?>>

All Implemented Interfaces:
Iterator<T>, Cursor<T>, EuclideanSpace, AbstractCellImg.CellImgSampler<C>, Iterator, Localizable, RealCursor<T>, RealLocalizable, Sampler<T>

public class CellCursor<T extends NativeType<T>,C extends Cell<?>> extends AbstractCursor<T> implements AbstractCellImg.CellImgSampler<C>
Author:
Tobias Pietzsch
  • Field Details

    • type

      protected final T extends NativeType<T> type
    • cursorOnCells

      protected final Cursor<C extends Cell<?>> cursorOnCells
    • lastIndexInCell

      protected int lastIndexInCell
    • index

      protected int index
      The current index of the type. It is faster to duplicate this here than to access it through type.getIndex().
    • isNotLastCell

      protected boolean isNotLastCell
      Caches cursorOnCells.hasNext().
  • Constructor Details

  • Method Details