P
- type of the position field.public class IterationCodeListIterator<P extends Positionable & Localizable> extends AbstractEuclideanSpace implements Iterator
IterationCode
s. (This
is used to iterate a LabelRegion
which is the union of fragments
which are encoded by IterationCode
s.) It is constructed with a
Positionable
Localizable
, that represents the position and is
moved around while iterating.n
Constructor and Description |
---|
IterationCodeListIterator(IterationCodeListIterator<?> copyFrom,
P position) |
IterationCodeListIterator(List<gnu.trove.list.array.TIntArrayList> itcodesList,
long[] offset,
P position) |
Modifier and Type | Method and Description |
---|---|
void |
fwd()
Move forward.
|
boolean |
hasNext()
Returns true if another step forward is possible.
|
void |
jumpFwd(long steps)
Move steps × forward.
|
void |
reset()
Reset the
Iterator , that is put it to where it would be if newly
created. |
numDimensions
public IterationCodeListIterator(List<gnu.trove.list.array.TIntArrayList> itcodesList, long[] offset, P position)
public IterationCodeListIterator(IterationCodeListIterator<?> copyFrom, P position)
public void jumpFwd(long steps)
Iterator
public void fwd()
Iterator
public void reset()
Iterator
Iterator
, that is put it to where it would be if newly
created.Copyright © 2015–2022 ImgLib2. All rights reserved.