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