Class AbstractByteArray<A extends AbstractByteArray<A>>
java.lang.Object
net.imglib2.img.basictypeaccess.array.AbstractByteArray<A>
- All Implemented Interfaces:
Serializable
,ArrayDataAccess<A>
,ByteAccess
- Direct Known Subclasses:
AbstractVolatileByteArray
,ByteArray
,DirtyByteArray
public abstract class AbstractByteArray<A extends AbstractByteArray<A>>
extends Object
implements ByteAccess, ArrayDataAccess<A>
- Author:
- Stephan Preibisch, Stephan Saalfeld
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.imglib2.img.basictypeaccess.array.ArrayDataAccess
createArray
-
Field Details
-
data
protected byte[] data
-
-
Constructor Details
-
AbstractByteArray
public AbstractByteArray(int numEntities) -
AbstractByteArray
public AbstractByteArray(byte[] data)
-
-
Method Details
-
getValue
public byte getValue(int index) - Specified by:
getValue
in interfaceByteAccess
-
setValue
public void setValue(int index, byte value) - Specified by:
setValue
in interfaceByteAccess
-
getCurrentStorageArray
public byte[] getCurrentStorageArray()- Specified by:
getCurrentStorageArray
in interfaceArrayDataAccess<A extends AbstractByteArray<A>>
-