Class AbstractByteArray<A extends AbstractByteArray<A>>
- java.lang.Object
-
- net.imglib2.img.basictypeaccess.array.AbstractByteArray<A>
-
- All Implemented Interfaces:
java.io.Serializable
,ArrayDataAccess<A>
,ByteAccess
- Direct Known Subclasses:
AbstractVolatileByteArray
,ByteArray
,DirtyByteArray
public abstract class AbstractByteArray<A extends AbstractByteArray<A>> extends java.lang.Object implements ByteAccess, ArrayDataAccess<A>
- Author:
- Stephan Preibisch, Stephan Saalfeld
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]
data
-
Constructor Summary
Constructors Constructor Description AbstractByteArray(byte[] data)
AbstractByteArray(int numEntities)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getCurrentStorageArray()
byte
getValue(int index)
void
setValue(int index, byte value)
-
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
-
-
-
-
Method Detail
-
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>>
-
-