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