public enum NumberType extends Enum<NumberType>
Enum Constant and Description |
---|
ARABIC |
BULLET |
LOWER_LETTER |
LOWER_ROMAN |
NO_NUMBER |
UNKNOWN |
UPPER_LETTER |
UPPER_ROMAN |
Modifier and Type | Method and Description |
---|---|
static NumberType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NumberType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NumberType UNKNOWN
public static final NumberType ARABIC
public static final NumberType UPPER_ROMAN
public static final NumberType LOWER_ROMAN
public static final NumberType UPPER_LETTER
public static final NumberType LOWER_LETTER
public static final NumberType BULLET
public static final NumberType NO_NUMBER
public static NumberType[] values()
for (NumberType c : NumberType.values()) System.out.println(c);
public static NumberType 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 © 2019 Habarisoft. All rights reserved.