T - the pixel typepublic final class ListLocalizingCursor<T> extends AbstractLocalizingCursorInt<T>
positionn| Constructor and Description |
|---|
ListLocalizingCursor(AbstractListImg<T> img) |
ListLocalizingCursor(ListLocalizingCursor<T> cursor) |
| Modifier and Type | Method and Description |
|---|---|
ListLocalizingCursor<T> |
copy() |
void |
fwd() |
T |
get()
Access the actual T instance providing access to a pixel,
sub-pixel or integral region value the
Sampler points at. |
T |
getType()
Get an instance of
T. |
boolean |
hasNext() |
void |
jumpFwd(long steps) |
void |
reset() |
void |
set(T t) |
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localizenumDimensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopyCursornextforEachRemaining, removegetDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localize, positionAsLongArray, positionAsPointlocalize, localize, positionAsDoubleArray, positionAsRealPointnumDimensionspublic ListLocalizingCursor(ListLocalizingCursor<T> cursor)
public ListLocalizingCursor(AbstractListImg<T> img)
public void fwd()
public void jumpFwd(long steps)
public boolean hasNext()
public void reset()
public T get()
SamplerSampler points at.public T getType()
TypedT.
It should not be assumed that the returned T instance is an
independent copy. In particular, repeated calls to getType() may
return the same instance.
Tpublic void set(T t)
public ListLocalizingCursor<T> copy()
copy in interface Cursor<T>copy in interface RealCursor<T>copy in interface Sampler<T>copy in class AbstractLocalizingCursorInt<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)Copyright © 2009–2025 ImgLib2. All rights reserved.