|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.cscc.crypto.util.IntegerUtil
IntegerUtil Class. Class that hold only static methods to convert ints and int arrays to Strings. These Strings holds the hex or binary representation of the converted ints or int arrays. This class can't be instance, because its constructor is private.
Method Summary | |
static String |
toBin(int in)
Converts byte to binary representation. |
static String |
toBin(int[] in)
Converts int[] to binary representation. |
static byte[] |
toByteArray(int in)
Converts int to byte[4] |
static String |
toHex(int in)
Converts int to hex representation. |
static String |
toHex(int[] in)
Converts int[] to hex representation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static String toBin(int in)
in
- int that will be converted.
public static String toBin(int[] in)
in
- int[] that will be converted.
public static String toHex(int in)
in
- int that will be converted.
public static String toHex(int[] in)
in
- int[] that will be converted.
public static byte[] toByteArray(int in)
in
- int that should be converted to byte[4].
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |