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