ix.util
Class Inf
java.lang.Object
ix.util.Inf
public final class Inf
- extends java.lang.Object
Very simple arithmetic with a pretend positive infinity.
Method Summary |
static long |
add(long i,
long j)
|
static java.lang.String |
asString(long i)
|
static java.lang.String |
asString(java.lang.Long i)
|
static long |
diff(long i,
long j)
|
static boolean |
isInfName(java.lang.Object o)
|
static boolean |
isLess(long i,
long j)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INFINITY
public static final long INFINITY
- See Also:
- Constant Field Values
isLess
public static boolean isLess(long i,
long j)
add
public static long add(long i,
long j)
diff
public static long diff(long i,
long j)
isInfName
public static boolean isInfName(java.lang.Object o)
asString
public static java.lang.String asString(long i)
asString
public static java.lang.String asString(java.lang.Long i)