public final class Bit2Array extends Object implements Serializable
| Constructor and Description |
|---|
Bit2Array(int length) |
| Modifier and Type | Method and Description |
|---|---|
Bit2Array |
clone() |
static Bit2Array |
construct(int size,
byte[] data) |
void |
copyFrom(Bit2Array other,
int otherOffset,
int thisOffset,
int length) |
boolean |
equals(Object obj) |
Bit2Array |
extend(int size) |
static byte[] |
extractRawDataArray(Bit2Array array) |
int |
get(int index) |
Bit2Array |
getRange(int from,
int to) |
int |
hashCode() |
static Bit2Array |
readFrom(DataInput input) |
void |
set(int index,
int value) |
int |
size() |
byte[] |
toByteArray() |
void |
writeTo(DataOutput output) |
public int size()
public int get(int index)
public void set(int index,
int value)
public Bit2Array extend(int size)
public byte[] toByteArray()
public void copyFrom(Bit2Array other, int otherOffset, int thisOffset, int length)
public Bit2Array getRange(int from, int to)
public void writeTo(DataOutput output) throws IOException
IOExceptionpublic static Bit2Array readFrom(DataInput input) throws IOException
IOExceptionpublic static byte[] extractRawDataArray(Bit2Array array)
public static Bit2Array construct(int size, byte[] data)
Copyright © 2018. All rights reserved.