|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.commons.lang.NumberUtil
public class NumberUtil
Constructor Summary | |
---|---|
NumberUtil()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NumberUtil()
Method Detail |
---|
public static int hexToInt(String s, int defaultValue)
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |