T
- public final class ArrayCursor<T extends NativeType<T>> extends AbstractArrayCursor<T>
img, lastIndex, offset, size, type
n
Modifier | Constructor and Description |
---|---|
protected |
ArrayCursor(ArrayCursor<T> cursor) |
|
ArrayCursor(ArrayImg<T,?> img) |
Modifier and Type | Method and Description |
---|---|
ArrayCursor<T> |
copy() |
ArrayCursor<T> |
copyCursor() |
fwd, get, getIntPosition, hasNext, jumpFwd, localize, reset, toString
getDoublePosition, getFloatPosition, getLongPosition, localize, localize, localize, next, remove
numDimensions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEachRemaining
localize, positionAsLongArray, positionAsPoint
localize, positionAsDoubleArray, positionAsRealPoint
numDimensions
protected ArrayCursor(ArrayCursor<T> cursor)
public ArrayCursor<T> copy()
copy
in interface Sampler<T extends NativeType<T>>
copy
in class AbstractCursorInt<T extends NativeType<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 ArrayCursor<T> copyCursor()
copyCursor
in interface Cursor<T extends NativeType<T>>
copyCursor
in interface RealCursor<T extends NativeType<T>>
copyCursor
in class AbstractCursorInt<T extends NativeType<T>>
Copyright © 2015–2022 ImgLib2. All rights reserved.