public class VarIntArrayFunctions extends IntArrayFunctions
| Modifier and Type | Field and Description |
|---|---|
static VarIntArrayFunctions |
INSTANCE |
| Modifier | Constructor and Description |
|---|---|
protected |
VarIntArrayFunctions() |
| Modifier and Type | Method and Description |
|---|---|
int[] |
read(BytesDataInput input)
Reads an array from the given input stream.
|
int[] |
read(DataInput input)
Reads an array from the given input stream.
|
int[] |
readRaw(BytesDataInput input,
int length)
Reads an array from the given input stream.
|
int[] |
readRaw(DataInput input,
int length)
Reads an array from the given input stream.
|
void |
write(BytesDataOutput output,
int[] value)
Writes the contents of the given array to the output stream.
|
void |
write(DataOutput output,
int[] value)
Writes the contents of the given array to the output stream.
|
void |
writeRaw(BytesDataOutput output,
int[] value)
Writes the contents of the given array to the output stream.
|
void |
writeRaw(DataOutput output,
int[] value)
Writes the contents of the given array to the output stream.
|
concat, copyArray, copyOfRange, endsWith, equals, equals, getCommonPrefixLength, getCommonSuffixLength, getLength, newArray, startsWithpublic static final VarIntArrayFunctions INSTANCE
public void write(DataOutput output, int[] value) throws java.io.IOException
ArrayFunctionswrite in interface ArrayFunctions<int[]>write in class IntArrayFunctionsoutput - stream to write tovalue - array to be writtenjava.io.IOException - if an I/O error occurspublic void writeRaw(DataOutput output, int[] value) throws java.io.IOException
ArrayFunctionswriteRaw in interface ArrayFunctions<int[]>writeRaw in class IntArrayFunctionsoutput - stream to write tovalue - array to be writtenjava.io.IOException - if an I/O error occurspublic void write(BytesDataOutput output, int[] value)
ArrayFunctionswrite in interface ArrayFunctions<int[]>write in class IntArrayFunctionsoutput - stream to write tovalue - array to be writtenpublic void writeRaw(BytesDataOutput output, int[] value)
ArrayFunctionswriteRaw in interface ArrayFunctions<int[]>writeRaw in class IntArrayFunctionsoutput - stream to write tovalue - array to be writtenpublic int[] read(DataInput input) throws java.io.IOException
ArrayFunctionsread in interface ArrayFunctions<int[]>read in class IntArrayFunctionsinput - stream to read fromjava.io.IOException - if an I/O error occurspublic int[] readRaw(DataInput input, int length) throws java.io.IOException
ArrayFunctionsreadRaw in interface ArrayFunctions<int[]>readRaw in class IntArrayFunctionsinput - stream to read fromlength - array lengthjava.io.IOException - if an I/O error occurspublic int[] read(BytesDataInput input)
ArrayFunctionsread in interface ArrayFunctions<int[]>read in class IntArrayFunctionsinput - stream to read frompublic int[] readRaw(BytesDataInput input, int length)
ArrayFunctionsreadRaw in interface ArrayFunctions<int[]>readRaw in class IntArrayFunctionsinput - stream to read fromlength - array length