Package net.imglib2.img.basictypeaccess
Interface DataAccess
- All Known Subinterfaces:
ArrayDataAccess<A>,BooleanAccess,BufferAccess<A>,ByteAccess,CharAccess,DoubleAccess,FloatAccess,IntAccess,LongAccess,NtreeAccess<L,,A> PlanarAccess<A>,ShortAccess,VolatileArrayDataAccess<A>,VolatileBooleanAccess,VolatileByteAccess,VolatileCharAccess,VolatileDoubleAccess,VolatileFloatAccess,VolatileIntAccess,VolatileLongAccess,VolatileShortAccess
- All Known Implementing Classes:
AbstractBooleanArray,AbstractBufferAccess,AbstractByteArray,AbstractCharArray,AbstractDoubleArray,AbstractFloatArray,AbstractIntArray,AbstractLongArray,AbstractShortArray,AbstractVolatileBooleanArray,AbstractVolatileByteArray,AbstractVolatileCharArray,AbstractVolatileDoubleArray,AbstractVolatileFloatArray,AbstractVolatileIntArray,AbstractVolatileLongArray,AbstractVolatileShortArray,ARGBChannelSamplerConverter.ARGBChannelConvertingAccess,BooleanArray,BooleanNtree,ByteArray,ByteBufferAccess,ByteNtree,CharArray,CharBufferAccess,CharNtree,CompositeARGBSamplerConverter.CompositeARGBAccess,CompositeARGBSamplerConverter.CompositeRGBAccess,DirtyBooleanArray,DirtyByteArray,DirtyCharArray,DirtyDoubleArray,DirtyFloatArray,DirtyIntArray,DirtyLongArray,DirtyShortArray,DirtyVolatileBooleanArray,DirtyVolatileByteArray,DirtyVolatileCharArray,DirtyVolatileDoubleArray,DirtyVolatileFloatArray,DirtyVolatileIntArray,DirtyVolatileLongArray,DirtyVolatileShortArray,DoubleArray,DoubleBufferAccess,DoubleNtree,FloatArray,FloatBufferAccess,FloatNtree,IntArray,IntBufferAccess,IntNtree,LongArray,LongBufferAccess,LongNtree,PlanarImg,RealDoubleSamplerConverter.RealConvertingDoubleAccess,RealFloatSamplerConverter.RealConvertingFloatAccess,ShortArray,ShortBufferAccess,ShortNtree,VolatileBooleanArray,VolatileByteArray,VolatileCharArray,VolatileDoubleArray,VolatileFloatArray,VolatileIntArray,VolatileLongArray,VolatileShortArray
public interface DataAccess
Top-level interface for access containers
Generally, sub-interfaces define specific getValue and setValue methods for a
given index.
-
Method Summary
Modifier and TypeMethodDescriptiondefault DataAccesscreateView(Object o) Create a copy of the current access without copying the underlying data.
-
Method Details
-
createView
Create a copy of the current access without copying the underlying data. Useful for access containers whose instances are not thread safe such asBufferderivatives that have a state. By default,createViewreturnsthisobject instance.- Parameters:
o- Usually an accessor likeCursor. SeeNativeImg.update(Object)- Returns:
- A view of the original access and of the same concrete type.
- See Also:
-