|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanet.util.Utilities
Offers different utilities.
Constructor Summary | |
Utilities()
|
Method Summary | |
static byte[] |
generateByteHash(java.lang.String data)
Generate a hash code from specified data. |
static int[] |
generateIntHash(java.lang.String data)
Generate a hash code from specified data. |
static int[] |
toIntArray(byte[] data)
Change a byte array to int array |
static int[] |
toIntArray(java.lang.String data)
Change a byte array to int array |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Utilities()
Method Detail |
public static int[] toIntArray(byte[] data)
data
- byte array to change to int array
public static int[] toIntArray(java.lang.String data)
data
- byte array to change to int array
public static int[] generateIntHash(java.lang.String data)
data
- String to obtain its hash code.
public static byte[] generateByteHash(java.lang.String data)
data
- String to obtain its hash code.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |