org.usergrid.utils
Class NumberUtils

java.lang.Object
  extended by org.usergrid.utils.NumberUtils

public class NumberUtils
extends Object


Constructor Summary
NumberUtils()
           
 
Method Summary
static boolean isLong(Object obj)
           
static boolean isLongOrNull(Object obj)
           
static long longValue(Object obj)
           
static long roundLong(long l, long r)
           
static int sign(int i)
           
 
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

longValue

public static long longValue(Object obj)
Parameters:
obj -
Returns:

isLong

public static boolean isLong(Object obj)
Parameters:
obj -
Returns:

isLongOrNull

public static boolean isLongOrNull(Object obj)
Parameters:
obj -
Returns:

sign

public static int sign(int i)

roundLong

public static long roundLong(long l,
                             long r)


Copyright © 2013. All Rights Reserved.