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