| Modifier and Type | Field and Description |
|---|---|
static long |
MAX_VALUE
The maximum value of an unsigned integer,
which is 4294967295L.
|
static long |
MIN_VALUE
The minimum value of an unsigned integer,
which is 0L.
|
static int |
SIZE
The number of bits used to represent an unsigned integer in
binary form, which is 32.
|
| Modifier | Constructor and Description |
|---|---|
private |
UInt()
This class cannot get instantiated.
|
public static final long MIN_VALUE
public static final long MAX_VALUE
public static final int SIZE
public static void check(long l,
String subject,
String error)
l - The long integer to check to be in the range of an unsigned
integer (32 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)
l - The long integer to check to be in the range of an unsigned
integer (32 bits).IllegalArgumentException - If l is less than
MIN_VALUE or greater than MAX_VALUE.Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.