public abstract class AbstractByteArray<A extends AbstractByteArray<A>> extends Object implements ByteAccess, ArrayDataAccess<A>
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
data |
| Constructor and Description |
|---|
AbstractByteArray(byte[] data) |
AbstractByteArray(int numEntities) |
| Modifier and Type | Method and Description |
|---|---|
int |
getArrayLength() |
byte[] |
getCurrentStorageArray() |
byte |
getValue(int index) |
void |
setValue(int index,
byte value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateArraypublic AbstractByteArray(int numEntities)
public AbstractByteArray(byte[] data)
public byte getValue(int index)
getValue in interface ByteAccesspublic void setValue(int index,
byte value)
setValue in interface ByteAccesspublic byte[] getCurrentStorageArray()
getCurrentStorageArray in interface ArrayDataAccess<A extends AbstractByteArray<A>>public int getArrayLength()
getArrayLength in interface ArrayDataAccess<A extends AbstractByteArray<A>>Copyright © 2015–2022 ImgLib2. All rights reserved.