|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.utils.Hex
public class Hex
Constructor Summary | |
---|---|
Hex()
|
Method Summary | |
---|---|
static java.lang.String |
bytesToHex(byte... bytes)
|
static java.lang.reflect.Constructor |
getProtectedConstructor(java.lang.Class klass,
java.lang.Class... paramTypes)
Used to get access to protected/private constructor of the specified class |
static byte[] |
hexToBytes(java.lang.String str)
|
static java.lang.String |
wrapCharArray(char[] c)
Create a String from a char array with zero-copy (if available), using reflection to access a package-protected constructor of String. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Hex()
Method Detail |
---|
public static byte[] hexToBytes(java.lang.String str)
public static java.lang.String bytesToHex(byte... bytes)
public static java.lang.String wrapCharArray(char[] c)
public static java.lang.reflect.Constructor getProtectedConstructor(java.lang.Class klass, java.lang.Class... paramTypes)
klass
- - name of the classparamTypes
- - types of the constructor parameters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |