public interface Bytez
| Modifier and Type | Method and Description |
|---|---|
byte[] |
asByteArray() |
boolean |
compareAndSwapInt(long offset,
int expect,
int newVal) |
boolean |
compareAndSwapLong(long offset,
long expect,
long newVal) |
void |
copyTo(Bytez other,
long otherByteIndex,
long myByteIndex,
long lenBytes) |
byte |
get(long byteIndex) |
void |
getArr(long byteIndex,
byte[] target,
int elemoff,
int numElems) |
int |
getBALength() |
int |
getBAOffsetIndex() |
boolean |
getBool(long byteIndex) |
boolean |
getBoolVolatile(long byteIndex) |
char |
getChar(long byteIndex) |
void |
getCharArr(long byteIndex,
char[] target,
int elemoff,
int numElems) |
char |
getCharVolatile(long byteIndex) |
double |
getDouble(long byteIndex) |
void |
getDoubleArr(long byteIndex,
double[] target,
int elemoff,
int numElems) |
double |
getDoubleVolatile(long byteIndex) |
float |
getFloat(long byteIndex) |
void |
getFloatArr(long byteIndex,
float[] target,
int elemoff,
int numElems) |
float |
getFloatVolatile(long byteIndex) |
int |
getInt(long byteIndex) |
void |
getIntArr(long byteIndex,
int[] target,
int elemoff,
int numElems) |
int |
getIntVolatile(long byteIndex) |
long |
getLong(long byteIndex) |
void |
getLongArr(long byteIndex,
long[] target,
int elemoff,
int numElems) |
long |
getLongVolatile(long byteIndex) |
short |
getShort(long byteIndex) |
void |
getShortArr(long byteIndex,
short[] target,
int elemoff,
int numElems) |
short |
getShortVolatile(long byteIndex) |
byte |
getVolatile(long byteIndex) |
long |
length() |
Bytez |
newInstance(long size) |
void |
put(long byteIndex,
byte value) |
void |
putBool(long byteIndex,
boolean val) |
void |
putBoolVolatile(long byteIndex,
boolean value) |
void |
putChar(long byteIndex,
char c) |
void |
putCharVolatile(long byteIndex,
char c) |
void |
putDouble(long byteIndex,
double d) |
void |
putDoubleVolatile(long byteIndex,
double d) |
void |
putFloat(long byteIndex,
float f) |
void |
putFloatVolatile(long byteIndex,
float f) |
void |
putInt(long byteIndex,
int i) |
void |
putIntVolatile(long byteIndex,
int i) |
void |
putLong(long byteIndex,
long l) |
void |
putLongVolatile(long byteIndex,
long l) |
void |
putShort(long byteIndex,
short s) |
void |
putShortVolatile(long byteIndex,
short s) |
void |
putVolatile(long byteIndex,
byte value) |
void |
set(long byteIndex,
byte[] source,
int elemoff,
int numElems) |
void |
setBoolean(int byteIndex,
boolean[] o,
int i,
int siz) |
void |
setChar(long byteIndex,
char[] source,
int elemoff,
int numElems) |
void |
setDouble(long byteIndex,
double[] source,
int elemoff,
int numElems) |
void |
setFloat(long byteIndex,
float[] source,
int elemoff,
int numElems) |
void |
setInt(long byteIndex,
int[] source,
int elemoff,
int numElems) |
void |
setLong(long byteIndex,
long[] source,
int elemoff,
int numElems) |
void |
setShort(long byteIndex,
short[] source,
int elemoff,
int numElems) |
byte[] |
toBytes(int startIndex,
int len) |
boolean getBoolVolatile(long byteIndex)
byte getVolatile(long byteIndex)
char getCharVolatile(long byteIndex)
short getShortVolatile(long byteIndex)
int getIntVolatile(long byteIndex)
long getLongVolatile(long byteIndex)
float getFloatVolatile(long byteIndex)
double getDoubleVolatile(long byteIndex)
void putBoolVolatile(long byteIndex,
boolean value)
void putVolatile(long byteIndex,
byte value)
void putCharVolatile(long byteIndex,
char c)
void putShortVolatile(long byteIndex,
short s)
void putIntVolatile(long byteIndex,
int i)
void putLongVolatile(long byteIndex,
long l)
void putFloatVolatile(long byteIndex,
float f)
void putDoubleVolatile(long byteIndex,
double d)
byte get(long byteIndex)
boolean getBool(long byteIndex)
char getChar(long byteIndex)
short getShort(long byteIndex)
int getInt(long byteIndex)
long getLong(long byteIndex)
float getFloat(long byteIndex)
double getDouble(long byteIndex)
void put(long byteIndex,
byte value)
void putBool(long byteIndex,
boolean val)
void putChar(long byteIndex,
char c)
void putShort(long byteIndex,
short s)
void putInt(long byteIndex,
int i)
void putLong(long byteIndex,
long l)
void putFloat(long byteIndex,
float f)
void putDouble(long byteIndex,
double d)
long length()
void getArr(long byteIndex,
byte[] target,
int elemoff,
int numElems)
void getCharArr(long byteIndex,
char[] target,
int elemoff,
int numElems)
void getShortArr(long byteIndex,
short[] target,
int elemoff,
int numElems)
void getIntArr(long byteIndex,
int[] target,
int elemoff,
int numElems)
void getLongArr(long byteIndex,
long[] target,
int elemoff,
int numElems)
void getFloatArr(long byteIndex,
float[] target,
int elemoff,
int numElems)
void getDoubleArr(long byteIndex,
double[] target,
int elemoff,
int numElems)
void set(long byteIndex,
byte[] source,
int elemoff,
int numElems)
void setChar(long byteIndex,
char[] source,
int elemoff,
int numElems)
void setShort(long byteIndex,
short[] source,
int elemoff,
int numElems)
void setInt(long byteIndex,
int[] source,
int elemoff,
int numElems)
void setLong(long byteIndex,
long[] source,
int elemoff,
int numElems)
void setFloat(long byteIndex,
float[] source,
int elemoff,
int numElems)
void setDouble(long byteIndex,
double[] source,
int elemoff,
int numElems)
void setBoolean(int byteIndex,
boolean[] o,
int i,
int siz)
void copyTo(Bytez other, long otherByteIndex, long myByteIndex, long lenBytes)
Bytez newInstance(long size)
boolean compareAndSwapInt(long offset,
int expect,
int newVal)
boolean compareAndSwapLong(long offset,
long expect,
long newVal)
byte[] toBytes(int startIndex,
int len)
byte[] asByteArray()
int getBAOffsetIndex()
int getBALength()
Copyright © 2014. All rights reserved.