railo.commons.lang
Class NumberUtil

java.lang.Object
  extended by railo.commons.lang.NumberUtil

public class NumberUtil
extends Object


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

NumberUtil

public NumberUtil()
Method Detail

hexToInt

public static int hexToInt(String s,
                           int defaultValue)

hexToInt

public static int hexToInt(String s)
                    throws ExpressionException
Throws:
ExpressionException

longToByteArray

public static byte[] longToByteArray(long l)

byteArrayToLong

public static long byteArrayToLong(byte[] ba)

randomRange

public static int randomRange(int min,
                              int max)


Copyright © 2012 Railo