public class ArrayCursor<T extends Type<T>> extends CursorImpl<T> implements Cursor<T>
Modifier and Type | Field and Description |
---|---|
protected Array<T,?> |
container |
protected int |
maxIndex |
protected T |
type |
debug, image, isClosed
Constructor and Description |
---|
ArrayCursor(Array<T,?> container,
Image<T> image,
T type) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
fwd() |
void |
fwd(long steps) |
Array<T,?> |
getStorageContainer() |
int |
getStorageIndex() |
T |
getType() |
boolean |
hasNext() |
void |
reset() |
String |
toString() |
createPositionArray, 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
public void fwd(long steps)
public Array<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.