public class NumberUtil extends Object
Constructor and Description |
---|
NumberUtil() |
Modifier and Type | Method and Description |
---|---|
static long |
byteArrayToLong(byte[] ba) |
static int |
hexToInt(String s) |
static int |
hexToInt(String s,
int defaultValue) |
static byte[] |
longToByteArray(long l) |
static int |
randomRange(int min,
int max) |
public NumberUtil()
public static int hexToInt(String s) throws ExpressionException
ExpressionException
public static byte[] longToByteArray(long l)
public static long byteArrayToLong(byte[] ba)
public static int randomRange(int min, int max)
Copyright © 2015 Lucee