public class AbstractLongListImg.LongListCursor extends AbstractCursor<T>
n| Modifier | Constructor and Description |
|---|---|
|
LongListCursor() |
protected |
LongListCursor(AbstractLongListImg.LongListCursor cursor) |
| Modifier and Type | Method and Description |
|---|---|
AbstractLongListImg.LongListCursor |
copy() |
AbstractLongListImg.LongListCursor |
copyCursor() |
void |
fwd() |
T |
get()
Access the actual T instance providing access to a pixel,
sub-pixel or integral region value the
Sampler points at. |
long |
getLongPosition(int d)
Return the current position in a given dimension.
|
boolean |
hasNext() |
void |
jumpFwd(long steps)
Highly recommended to override this with a more efficient version.
|
void |
localize(long[] position)
Write the current position into the passed array.
|
void |
reset() |
void |
set(T t) |
getDoublePosition, getFloatPosition, getIntPosition, localize, localize, localize, next, remove, toStringnumDimensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemaininglocalize, positionAsLongArray, positionAsPointlocalize, positionAsDoubleArray, positionAsRealPointnumDimensionsprotected LongListCursor(AbstractLongListImg.LongListCursor cursor)
public LongListCursor()
public T get()
SamplerSampler points at.public void set(T t)
public AbstractLongListImg.LongListCursor copy()
copy in interface Sampler<T>copy in class AbstractCursor<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 AbstractLongListImg.LongListCursor copyCursor()
copyCursor in interface Cursor<T>copyCursor in interface RealCursor<T>copyCursor in class AbstractCursor<T>public boolean hasNext()
public void jumpFwd(long steps)
AbstractCursorjumpFwd in class AbstractCursor<T>steps - number of steps to move forwardpublic void fwd()
public void reset()
public void localize(long[] position)
Localizableposition - receives current positionpublic long getLongPosition(int d)
Localizabled - dimensionCopyright © 2015–2022 ImgLib2. All rights reserved.