T
- the pixel typepublic final class ListLocalizingCursor<T> extends AbstractLocalizingCursorInt<T>
position
n
Constructor and Description |
---|
ListLocalizingCursor(AbstractListImg<T> img) |
ListLocalizingCursor(ListLocalizingCursor<T> cursor) |
Modifier and Type | Method and Description |
---|---|
ListLocalizingCursor<T> |
copy() |
ListLocalizingCursor<T> |
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. |
boolean |
hasNext() |
void |
jumpFwd(long steps)
Move steps × forward.
|
void |
reset() |
void |
set(T t) |
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
public ListLocalizingCursor(ListLocalizingCursor<T> cursor)
public ListLocalizingCursor(AbstractListImg<T> img)
public void fwd()
public void jumpFwd(long steps)
Iterator
jumpFwd
in class AbstractLocalizingCursorInt<T>
steps
- number of steps to move forwardpublic boolean hasNext()
public void reset()
public T get()
Sampler
Sampler
points at.public void set(T t)
public ListLocalizingCursor<T> copy()
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)public ListLocalizingCursor<T> copyCursor()
copyCursor
in interface Cursor<T>
copyCursor
in interface RealCursor<T>
copyCursor
in class AbstractLocalizingCursorInt<T>
Copyright © 2015–2022 ImgLib2. All rights reserved.