Package org.javlo.helper
Class JavaHelper
- java.lang.Object
-
- org.javlo.helper.JavaHelper
-
public class JavaHelper extends Object
- Author:
- pvandermaesen help for transform java standard objet
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JavaHelper.MapEntriesSortOnKey
static class
JavaHelper.MapEntriesSortOnValue
-
Constructor Summary
Constructors Constructor Description JavaHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
byteArrayToInt(byte[] b)
static <K,V>
Map<K,V>createMap(K[] keys, V[] values)
static byte[]
intToByteArray(int value)
static byte[]
longToByteArray(long value)
-
-
-
Method Detail
-
intToByteArray
public static final byte[] intToByteArray(int value)
-
longToByteArray
public static final byte[] longToByteArray(long value)
-
byteArrayToInt
public static final int byteArrayToInt(byte[] b)
-
createMap
public static final <K,V> Map<K,V> createMap(K[] keys, V[] values)
-
-