public final class LongArray extends Array<long[]>
Constructor and Description |
---|
LongArray(long[] arr,
int start,
int size) |
Modifier and Type | Method and Description |
---|---|
static LongArray |
create(int len,
boolean approximate)
Create an array.
|
void |
encode(java.io.DataOutput out)
Encode the array as DataOutput
|
void |
free()
Free the array from the ResourcePool
|
int |
getNumEnocdeBytes()
Get the number of Bytes of encoded data.
|
void |
release()
Release the array from the ResourcePool
|
public int getNumEnocdeBytes()
getNumEnocdeBytes
in class Transferable
public void encode(java.io.DataOutput out) throws java.io.IOException
encode
in class Transferable
java.io.IOException
public static LongArray create(int len, boolean approximate)
len
- approximate
- public void release()
release
in class Transferable
public void free()
free
in class Transferable