|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.netarkivet.harvester.datamodel.NumberUtils
public class NumberUtils
Number related utilities
Constructor Summary | |
---|---|
NumberUtils()
|
Method Summary | |
---|---|
static int |
compareInf(long l1,
long l2)
compare two given positive longs, with the addition that -1 means infinity |
static long |
minInf(long l1,
long l2)
Return the smallest value of two given positive longs, with the addition that -1 means infinity |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NumberUtils()
Method Detail |
---|
public static long minInf(long l1, long l2)
l1
- The first valuel2
- The second value
public static int compareInf(long l1, long l2)
l1
- The first valuel2
- The second value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |