- java.lang.Object
-
- bdv.util.ConstantRandomAccessible<T>
-
- All Implemented Interfaces:
net.imglib2.EuclideanSpace,net.imglib2.RandomAccessible<T>,net.imglib2.Typed<T>
public class ConstantRandomAccessible<T> extends Object implements net.imglib2.RandomAccessible<T>
ARandomAccessiblethat has a given constant value everywhere.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classConstantRandomAccessible.ConstantRandomAccess
-
Constructor Summary
Constructors Constructor Description ConstantRandomAccessible(T constant, int nDimensions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TgetType()intnumDimensions()net.imglib2.RandomAccess<T>randomAccess()net.imglib2.RandomAccess<T>randomAccess(net.imglib2.Interval interval)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.imglib2.RandomAccessible
getAt, getAt, getAt, view
-
-
-
-
Constructor Detail
-
ConstantRandomAccessible
public ConstantRandomAccessible(T constant, int nDimensions)
-
-
Method Detail
-
numDimensions
public int numDimensions()
- Specified by:
numDimensionsin interfacenet.imglib2.EuclideanSpace
-
randomAccess
public net.imglib2.RandomAccess<T> randomAccess()
- Specified by:
randomAccessin interfacenet.imglib2.RandomAccessible<T>
-
randomAccess
public net.imglib2.RandomAccess<T> randomAccess(net.imglib2.Interval interval)
- Specified by:
randomAccessin interfacenet.imglib2.RandomAccessible<T>
-
getType
public T getType()
- Specified by:
getTypein interfacenet.imglib2.Typed<T>
-
-