|
TrueZIP 6.8.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.schlichtherle.util.zip.ULong
final class ULong
Provides constants and static utility methods for unsigned long integer values (63 bits).
This class is safe for multithreading.
| Field Summary | |
|---|---|
static long |
MAX_VALUE
The maximum value of an unsigned long integer, which is 9223372036854775807L. |
static long |
MIN_VALUE
The minimum value of an unsigned long integer, which is 0L. |
static int |
SIZE
The number of bits used to represent an unsigned long integer in binary form, which is 63. |
| Constructor Summary | |
|---|---|
private |
ULong()
This class cannot get instantiated. |
| Method Summary | |
|---|---|
static void |
check(long l)
Checks the parameter range. |
static void |
check(long l,
String subject,
String error)
Checks the parameter range. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long MIN_VALUE
public static final long MAX_VALUE
public static final int SIZE
| Constructor Detail |
|---|
private ULong()
| Method Detail |
|---|
public static void check(long l,
String subject,
String error)
throws IllegalArgumentException
l - The long integer to check to be in the range of an unsigned
long integer (63 bits).subject - The subject of the exception message
- may be null.
This should not end with a punctuation character.error - First sentence of the exception message
- may be null.
This should not end with a punctuation character.
IllegalArgumentException - If l is less than
MIN_VALUE or greater than MAX_VALUE.
public static void check(long l)
throws IllegalArgumentException
l - The long integer to check to be in the range of an unsigned
long integer (63 bits).
IllegalArgumentException - If l is less than
MIN_VALUE or greater than MAX_VALUE.
|
TrueZIP 6.8.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||