| Constructor and Description |
|---|
HexEncoder() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
decodeBoolean(byte[] val) |
byte |
decodeByte(byte[] a) |
double |
decodeDouble(byte[] a) |
float |
decodeFloat(byte[] a) |
int |
decodeInt(byte[] a) |
long |
decodeLong(byte[] a) |
short |
decodeShort(byte[] a) |
byte[] |
encodeBoolean(boolean b) |
byte[] |
encodeBoolean(boolean b,
byte[] ret) |
byte[] |
encodeByte(byte b) |
byte[] |
encodeByte(byte b,
byte[] ret) |
byte[] |
encodeDouble(double d) |
byte[] |
encodeDouble(double d,
byte[] ret) |
byte[] |
encodeFloat(float d) |
byte[] |
encodeFloat(float d,
byte[] ret) |
byte[] |
encodeInt(int i) |
byte[] |
encodeInt(int i,
byte[] ret) |
byte[] |
encodeLong(long l) |
byte[] |
encodeLong(long l,
byte[] ret) |
byte[] |
encodeShort(short s) |
byte[] |
encodeShort(short s,
byte[] ret) |
byte[] |
followingKey(int size,
byte[] per) |
byte[] |
lastPossibleKey(int size,
byte[] er) |
public byte[] encodeByte(byte b,
byte[] ret)
encodeByte in interface Encoderpublic byte[] encodeByte(byte b)
encodeByte in interface Encoderpublic byte decodeByte(byte[] a)
decodeByte in interface Encoderpublic byte[] encodeShort(short s)
encodeShort in interface Encoderpublic byte[] encodeShort(short s,
byte[] ret)
encodeShort in interface Encoderpublic short decodeShort(byte[] a)
decodeShort in interface Encoderpublic byte[] encodeLong(long l)
encodeLong in interface Encoderpublic byte[] encodeLong(long l,
byte[] ret)
encodeLong in interface Encoderpublic long decodeLong(byte[] a)
decodeLong in interface Encoderpublic byte[] encodeDouble(double d)
encodeDouble in interface Encoderpublic byte[] encodeDouble(double d,
byte[] ret)
encodeDouble in interface Encoderpublic double decodeDouble(byte[] a)
decodeDouble in interface Encoderpublic byte[] encodeFloat(float d)
encodeFloat in interface Encoderpublic byte[] encodeFloat(float d,
byte[] ret)
encodeFloat in interface Encoderpublic float decodeFloat(byte[] a)
decodeFloat in interface Encoderpublic boolean decodeBoolean(byte[] val)
decodeBoolean in interface Encoderpublic byte[] encodeBoolean(boolean b)
encodeBoolean in interface Encoderpublic byte[] encodeBoolean(boolean b,
byte[] ret)
encodeBoolean in interface Encoderpublic byte[] followingKey(int size,
byte[] per)
followingKey in interface Encoderpublic byte[] lastPossibleKey(int size,
byte[] er)
lastPossibleKey in interface EncoderCopyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.