org.mule.util
Class NumberUtils

java.lang.Object
  extended by org.apache.commons.lang.math.NumberUtils
      extended by org.mule.util.NumberUtils

public class NumberUtils
extends NumberUtils

NumberUtils contains useful methods for manipulating numbers.


Field Summary
 
Fields inherited from class org.apache.commons.lang.math.NumberUtils
BYTE_MINUS_ONE, BYTE_ONE, BYTE_ZERO, DOUBLE_MINUS_ONE, DOUBLE_ONE, DOUBLE_ZERO, FLOAT_MINUS_ONE, FLOAT_ONE, FLOAT_ZERO, INTEGER_MINUS_ONE, INTEGER_ONE, INTEGER_ZERO, LONG_MINUS_ONE, LONG_ONE, LONG_ZERO, SHORT_MINUS_ONE, SHORT_ONE, SHORT_ZERO
 
Constructor Summary
NumberUtils()
           
 
Method Summary
static int toInt(Object obj)
           
static long toLong(Object obj)
           
 
Methods inherited from class org.apache.commons.lang.math.NumberUtils
compare, compare, createBigDecimal, createBigInteger, createDouble, createFloat, createInteger, createLong, createNumber, isDigits, isNumber, max, max, max, max, max, max, max, max, max, max, max, max, min, min, min, min, min, min, min, min, min, min, min, min, stringToInt, stringToInt, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toLong, toLong
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberUtils

public NumberUtils()
Method Detail

toLong

public static long toLong(Object obj)

toInt

public static int toInt(Object obj)


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.