T
- public abstract class AbstractLocalizingCursorInt<T> extends AbstractLocalizableInt implements Cursor<T>
Cursor
s. The current position is
maintained in the inherited int[] position
field.position
n
Constructor and Description |
---|
AbstractLocalizingCursorInt(int n) |
Modifier and Type | Method and Description |
---|---|
abstract AbstractLocalizingCursorInt<T> |
copy() |
abstract AbstractLocalizingCursorInt<T> |
copyCursor() |
void |
jumpFwd(long steps)
Move steps × forward.
|
T |
next() |
void |
remove() |
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localize
numDimensions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, hasNext
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, positionAsLongArray, positionAsPoint
localize, localize, localize, positionAsDoubleArray, positionAsRealPoint
numDimensions
public AbstractLocalizingCursorInt(int n)
n
- number of dimensions in the Img
.public void jumpFwd(long steps)
Iterator
steps
- number of steps to move forwardpublic abstract AbstractLocalizingCursorInt<T> copy()
copy
in interface Sampler<T>
Sampler
in the same state accessing the same
values.
It does NOT copy T, just the state of the Sampler
.
Otherwise use T.copy() if available.
Sampler.copy().get() == Sampler.get(), i.e. both hold the same
value, not necessarily the same instance (this is the case for an
ArrayCursor
for example)public abstract AbstractLocalizingCursorInt<T> copyCursor()
copyCursor
in interface Cursor<T>
copyCursor
in interface RealCursor<T>
Copyright © 2015–2022 ImgLib2. All rights reserved.