Package net.imglib2.img.cell
Class CellSpliterator.CursorOnCells<C extends Cell<?>>
- java.lang.Object
-
- net.imglib2.img.cell.CellSpliterator.CursorOnCells<C>
-
- All Implemented Interfaces:
AbstractCellImg.CellImgSampler<C>
- Enclosing class:
- CellSpliterator<T extends NativeType<T>,C extends Cell<?>>
private static class CellSpliterator.CursorOnCells<C extends Cell<?>> extends java.lang.Object implements AbstractCellImg.CellImgSampler<C>
-
-
Constructor Summary
Constructors Constructor Description CursorOnCells(Cursor<C> delegate)Delegate is assumed to be in initial state, such that the first fwd() will move to the first element.CursorOnCells(CellSpliterator.CursorOnCells<C> o)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CellSpliterator.CursorOnCells<C>copy()voidfwd()CgetCell()longindex()voidsetIndex(long index)
-
-
-
Constructor Detail
-
CursorOnCells
CursorOnCells(Cursor<C> delegate)
Delegate is assumed to be in initial state, such that the first fwd() will move to the first element.
-
CursorOnCells
CursorOnCells(CellSpliterator.CursorOnCells<C> o)
-
-
Method Detail
-
index
public long index()
-
setIndex
public void setIndex(long index)
-
getCell
public C getCell()
- Specified by:
getCellin interfaceAbstractCellImg.CellImgSampler<C extends Cell<?>>- Returns:
- the cell the sampler is currently in.
-
fwd
public void fwd()
-
copy
public CellSpliterator.CursorOnCells<C> copy()
-
-