T
- public class PlanarCursor<T extends Type<T>> extends CursorImpl<T>
PlanarContainers
Modifier and Type | Field and Description |
---|---|
protected PlanarContainer<T,?> |
container |
protected boolean |
hasNext |
protected int |
lastIndex |
protected int |
lastSliceIndex |
protected int |
sliceIndex |
protected T |
type |
debug, image, isClosed
Constructor and Description |
---|
PlanarCursor(PlanarContainer<T,?> container,
Image<T> image,
T type) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
fwd() |
PlanarContainer<T,?> |
getStorageContainer() |
int |
getStorageIndex() |
T |
getType() |
boolean |
hasNext()
Note: This test is fragile in a sense that it returns true for elements
after the last element as well.
|
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
forEachRemaining
forEach, spliterator
protected final PlanarContainer<T extends Type<T>,?> container
protected final int lastIndex
protected final int lastSliceIndex
protected int sliceIndex
protected boolean hasNext
public PlanarCursor(PlanarContainer<T,?> container, Image<T> image, T type)
public T getType()
public boolean hasNext()
public void fwd()
public void close()
public void reset()
public PlanarContainer<T,?> getStorageContainer()
getStorageContainer
in interface Cursor<T extends Type<T>>
getStorageContainer
in class CursorImpl<T extends Type<T>>
public int getStorageIndex()
Copyright © 2015–2021 Fiji. All rights reserved.