public final class AGSCacheUtils
extends java.lang.Object
| Constructor and Description |
|---|
AGSCacheUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
encodeHex(long longvalue, int number)
Converts a long value to a hexadecimal value of the specified number of bits
|
static long |
getLongFromBytes(byte[] buf, boolean asc)
Gets the length according to byte
|
public static long getLongFromBytes(byte[] buf,
boolean asc)
Gets the length according to byte
buf - The byte array for saving the lengthasc - Ascending / descending orderjava.lang.IllegalArgumentException
public static java.lang.String encodeHex(long longvalue,
int number)
Converts a long value to a hexadecimal value of the specified number of bits
longvalue - long valuenumber - bit number