public class JavaHelper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JavaHelper.MapEntriesSortOnKey |
static class |
JavaHelper.MapEntriesSortOnValue |
Constructor and Description |
---|
JavaHelper() |
Modifier and Type | Method and 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) |
public static final byte[] intToByteArray(int value)
public static final byte[] longToByteArray(long value)
public static final int byteArrayToInt(byte[] b)
public static final <K,V> Map<K,V> createMap(K[] keys, V[] values)
Copyright © 2012-2018. All Rights Reserved.