public enum RawIntegerType extends Enum<RawIntegerType>
Defines raw integer types for enumerations.
Enum Constant and Description |
---|
SignedByte
The 8-bit signed integer value type.
|
SignedInt
The 32-bit signed integer value type.
|
SignedLong
The 64-bit signed integer value type.
|
SignedShort
The 16-bit signed integer value type.
|
UnsignedByte
The 8-bit unsigned integer value type.
|
UnsignedInt
The 32-bit unsigned integer value type.
|
UnsignedLong
The 64-bit unsigned integer value type.
|
UnsignedShort
The 16-bit unsigned integer value type.
|
Modifier and Type | Method and Description |
---|---|
static RawIntegerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RawIntegerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RawIntegerType SignedByte
The 8-bit signed integer value type.
public static final RawIntegerType UnsignedByte
The 8-bit unsigned integer value type.
public static final RawIntegerType SignedShort
The 16-bit signed integer value type.
public static final RawIntegerType UnsignedShort
The 16-bit unsigned integer value type.
public static final RawIntegerType SignedInt
The 32-bit signed integer value type.
public static final RawIntegerType UnsignedInt
The 32-bit unsigned integer value type.
public static final RawIntegerType SignedLong
The 64-bit signed integer value type.
public static final RawIntegerType UnsignedLong
The 64-bit unsigned integer value type.
public static RawIntegerType[] values()
for (RawIntegerType c : RawIntegerType.values()) System.out.println(c);
public static RawIntegerType 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