public final class Serial extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
compare(long serial1,
long serial2)
Compares two numbers using serial arithmetic.
|
static long |
increment(long serial)
Increments a serial number.
|
public static int compare(long serial1,
long serial2)
serial1 - The first integerserial2 - The second integerIllegalArgumentException - serial1 or serial2 is out of rangepublic static long increment(long serial)
serial - The serial numberIllegalArgumentException - serial is out of rangeCopyright © 2021 dnsjava.org. All rights reserved.