Package net.imglib2.img.cell
Class LazyCellImg.LazyCells<T>
- java.lang.Object
-
- net.imglib2.img.AbstractImg<T>
-
- net.imglib2.img.list.AbstractLongListImg<T>
-
- net.imglib2.img.cell.LazyCellImg.LazyCells<T>
-
- All Implemented Interfaces:
java.lang.Iterable<T>
,Dimensions
,EuclideanSpace
,Img<T>
,Interval
,IterableInterval<T>
,IterableRealInterval<T>
,RandomAccessible<T>
,RandomAccessibleInterval<T>
,RealInterval
- Enclosing class:
- LazyCellImg<T extends NativeType<T>,A>
public static final class LazyCellImg.LazyCells<T> extends AbstractLongListImg<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.imglib2.img.list.AbstractLongListImg
AbstractLongListImg.LongListCursor, AbstractLongListImg.LongListLocalizingCursor, AbstractLongListImg.LongListRandomAccess
-
-
Field Summary
-
Fields inherited from class net.imglib2.img.list.AbstractLongListImg
step
-
Fields inherited from class net.imglib2.img.AbstractImg
dimension, max, n, numPixels
-
-
Constructor Summary
Constructors Constructor Description LazyCells(long[] dimensions, LazyCellImg.Get<T> get)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Img<T>
copy()
ImgFactory<T>
factory()
Get aImgFactory
that createsImg
s of the same kind as this one.protected T
get(long index)
protected void
set(long index, T value)
-
Methods inherited from class net.imglib2.img.list.AbstractLongListImg
cursor, iterationOrder, localizingCursor, randomAccess
-
Methods inherited from class net.imglib2.img.AbstractImg
dimension, dimensions, firstElement, iterator, max, max, max, min, min, min, numDimensions, numElements, randomAccess, realMax, realMax, realMax, realMin, realMin, realMin, size, toString
-
-
-
-
Constructor Detail
-
LazyCells
public LazyCells(long[] dimensions, LazyCellImg.Get<T> get)
-
-
Method Detail
-
get
protected T get(long index)
- Specified by:
get
in classAbstractLongListImg<T>
-
set
protected void set(long index, T value)
- Specified by:
set
in classAbstractLongListImg<T>
-
factory
public ImgFactory<T> factory()
Description copied from interface:Img
Get aImgFactory
that createsImg
s of the same kind as this one. This is useful to create Imgs for temporary storage in generic methods where the specific Img type is unknown. Note, that the factory can be used even if all references to this Img have been invalidated.- Returns:
- a factory for Imgs of the same kind as this one.
-
-