public class ByteArray extends Object implements ByteAccess, ArrayDataAccess<ByteArray>
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
data |
| Constructor and Description |
|---|
ByteArray(byte[] data) |
ByteArray(int numEntities) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ByteArray |
createArray(int numEntities) |
byte[] |
getCurrentStorageArray() |
byte |
getValue(int index) |
void |
setValue(int index,
byte value) |
public ByteArray(int numEntities)
public ByteArray(byte[] data)
public void close()
close in interface DataAccesspublic byte getValue(int index)
getValue in interface ByteAccesspublic void setValue(int index,
byte value)
setValue in interface ByteAccesspublic byte[] getCurrentStorageArray()
getCurrentStorageArray in interface ArrayDataAccess<ByteArray>public ByteArray createArray(int numEntities)
createArray in interface ArrayDataAccess<ByteArray>Copyright © 2015–2021 Fiji. All rights reserved.