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