Class BundleView.BundleRandomAccess
java.lang.Object
net.imglib2.converter.AbstractConvertedRandomAccess<T, RandomAccess<T>>
net.imglib2.view.BundleView.BundleRandomAccess
- All Implemented Interfaces:
EuclideanSpace, Localizable, Positionable, RandomAccess<RandomAccess<T>>, RealLocalizable, Sampler<RandomAccess<T>>, Typed<RandomAccess<T>>
- Enclosing class:
BundleView<T>
-
Field Summary
Fields inherited from class AbstractConvertedRandomAccess
source -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractConvertedRandomAccess
bck, fwd, getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localize, move, move, move, move, move, numDimensions, setPosition, setPosition, setPosition, setPosition, setPositionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Localizable
localize, localize, positionAsLongArray, positionAsPointMethods inherited from interface RandomAccess
copyRandomAccess, setPositionAndGet, setPositionAndGet, setPositionAndGetMethods inherited from interface RealLocalizable
positionAsDoubleArray, positionAsRealPoint
-
Constructor Details
-
BundleRandomAccess
BundleRandomAccess(RandomAccess<T> source)
-
-
Method Details
-
get
-
getType
Description copied from interface:TypedGet an instance ofT.It should not be assumed that the returned
Tinstance is an independent copy. In particular, repeated calls togetType()may return the same instance.- Returns:
- an instance of
T
-
copy
- Specified by:
copyin interfaceRandomAccess<RandomAccess<T>>- Specified by:
copyin interfaceSampler<RandomAccess<T>>- Specified by:
copyin classAbstractConvertedRandomAccess<T, RandomAccess<T>>- Returns:
- - A new
Samplerin the same state accessing the same values. It does NOT copy T, just the state of theSampler. Otherwise use T.copy() if available. Sampler.copy().get() == Sampler.get(), i.e. both hold the same value, not necessarily the same instance (this is the case for anArrayCursorfor example)
-