org.usergrid.utils
Class NumberUtils
java.lang.Object
org.usergrid.utils.NumberUtils
public class NumberUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NumberUtils
public NumberUtils()
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.