public static enum ArrayType.Signedness extends Enum<ArrayType.Signedness>
integral data types that determines whether they can represent both
positive and negative numbers (signed), or only non-negative numbers (unsigned).| Enum Constant and Description |
|---|
SIGNED
The data type can represent both positive and negative numbers.
|
UNSIGNED
The data type can represent only non-negative numbers.
|
| Modifier and Type | Method and Description |
|---|---|
static ArrayType.Signedness |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArrayType.Signedness[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArrayType.Signedness SIGNED
public static final ArrayType.Signedness UNSIGNED
public static ArrayType.Signedness[] values()
for (ArrayType.Signedness c : ArrayType.Signedness.values()) System.out.println(c);
public static ArrayType.Signedness valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null