public class PlanarLocalizingCursor1D<T extends NativeType<T>> extends PlanarLocalizingCursor<T>
container, index, lastIndex, lastSliceIndex, max, sliceIndex, type, typeIndex
position
n
Modifier | Constructor and Description |
---|---|
|
PlanarLocalizingCursor1D(PlanarImg<T,?> container) |
protected |
PlanarLocalizingCursor1D(PlanarLocalizingCursor1D<T> cursor) |
Modifier and Type | Method and Description |
---|---|
PlanarLocalizingCursor1D<T> |
copy() |
void |
fwd() |
boolean |
hasNext()
Note: This test is fragile in a sense that it returns true for elements
after the last element as well.
|
copyCursor, get, getCurrentSliceIndex, jumpFwd, reset
next, remove
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localize
numDimensions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, positionAsLongArray, positionAsPoint
localize, localize, localize, positionAsDoubleArray, positionAsRealPoint
numDimensions
protected PlanarLocalizingCursor1D(PlanarLocalizingCursor1D<T> cursor)
public PlanarLocalizingCursor1D<T> copy()
copy
in interface Sampler<T extends NativeType<T>>
copy
in class PlanarLocalizingCursor<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 boolean hasNext()
PlanarLocalizingCursor
hasNext
in interface Iterator<T extends NativeType<T>>
hasNext
in class PlanarLocalizingCursor<T extends NativeType<T>>
public void fwd()
fwd
in class PlanarLocalizingCursor<T extends NativeType<T>>
Copyright © 2015–2022 ImgLib2. All rights reserved.