P - type of the position field.public class IterationCodeIterator<P extends Positionable & Localizable> extends AbstractEuclideanSpace implements Iterator
IterationCode. It is constructed with a Positionable
Localizable, that represents the position and is moved around while
iterating.n| Constructor and Description |
|---|
IterationCodeIterator(IterationCodeIterator<?> copyFrom,
P position) |
IterationCodeIterator(IterationCode iterationCode,
long[] offset,
P position) |
IterationCodeIterator(gnu.trove.list.array.TIntArrayList itcode,
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. |
numDimensionspublic IterationCodeIterator(IterationCode iterationCode, long[] offset, P position)
public IterationCodeIterator(gnu.trove.list.array.TIntArrayList itcode,
long[] offset,
P position)
public IterationCodeIterator(IterationCodeIterator<?> copyFrom, P position)
public void jumpFwd(long steps)
Iteratorpublic void fwd()
Iteratorpublic void reset()
IteratorIterator, that is put it to where it would be if newly
created.Copyright © 2015–2022 ImgLib2. All rights reserved.