public static enum DataType.Signedness extends Enum<DataType.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 DataType.Signedness |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataType.Signedness[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataType.Signedness SIGNED
public static final DataType.Signedness UNSIGNED
public static DataType.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 nullpublic static DataType.Signedness[] values()
for (DataType.Signedness c : DataType.Signedness.values()) System.out.println(c);