public class CellCursor<T extends Type<T>> extends CursorImpl<T> implements Cursor<T>
Modifier and Type | Field and Description |
---|---|
protected int |
cell |
protected Cell<T,?> |
cellInstance |
protected int |
cellMaxI |
protected CellContainer<T,?> |
container |
protected int |
lastCell |
protected int |
numCells |
protected T |
type |
debug, image, isClosed
Constructor and Description |
---|
CellCursor(CellContainer<T,?> container,
Image<T> image,
T type) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
fwd() |
protected void |
getCellData(int cell) |
Cell<T,?> |
getCurrentCell() |
CellContainer<T,?> |
getStorageContainer() |
int |
getStorageIndex() |
T |
getType() |
boolean |
hasNext() |
void |
reset() |
String |
toString() |
createPositionArray, fwd, getArrayIndex, getDimensions, getDimensions, getImage, getNumDimensions, isActive, iterator, next, remove, setDebug
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createPositionArray, getArrayIndex, getImage, isActive, setDebug
forEachRemaining, next, remove
forEach, iterator, spliterator
getDimensions, getDimensions, getNumDimensions
protected final CellContainer<T extends Type<T>,?> container
protected final int numCells
protected int cell
protected int lastCell
protected int cellMaxI
public CellCursor(CellContainer<T,?> container, Image<T> image, T type)
protected void getCellData(int cell)
public CellContainer<T,?> getStorageContainer()
getStorageContainer
in interface Cursor<T extends Type<T>>
getStorageContainer
in class CursorImpl<T extends Type<T>>
public int getStorageIndex()
getStorageIndex
in interface Cursor<T extends Type<T>>
Copyright © 2015–2021 Fiji. All rights reserved.