protected static enum NumericLiteralNeedsUnderscoreCheck.NumericType extends Enum<NumericLiteralNeedsUnderscoreCheck.NumericType>
| Enum Constant and Description |
|---|
BINARY
Denotes a binary literal.
|
DECIMAL
Denotes a decimal literal.
|
HEX
Denotes a hex literal.
|
| Modifier and Type | Method and Description |
|---|---|
static NumericLiteralNeedsUnderscoreCheck.NumericType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NumericLiteralNeedsUnderscoreCheck.NumericType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NumericLiteralNeedsUnderscoreCheck.NumericType DECIMAL
public static final NumericLiteralNeedsUnderscoreCheck.NumericType HEX
public static final NumericLiteralNeedsUnderscoreCheck.NumericType BINARY
public static NumericLiteralNeedsUnderscoreCheck.NumericType[] values()
for (NumericLiteralNeedsUnderscoreCheck.NumericType c : NumericLiteralNeedsUnderscoreCheck.NumericType.values()) System.out.println(c);
public static NumericLiteralNeedsUnderscoreCheck.NumericType 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 nullCopyright © 2021. All rights reserved.