|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbill.DNS.Serial
Helper functions for doing serial arithmetic. These should be used when setting/checking SOA serial numbers.
| Method Summary | |
static int |
compare(long serial1,
long serial2)
Compares two numbers using serial arithmetic. |
static long |
increment(long serial)
Increments a serial number. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static int compare(long serial1,
long serial2)
serial1 - The first integerserial2 - The second integer
IllegalArgumentException - serial1 or serial2 is out of rangepublic static long increment(long serial)
serial - The serial number
IllegalArgumentException - serial is out of range
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||