public enum NumberFormat extends Enum<NumberFormat>
Enum Constant and Description |
---|
HINDU_ARABIC_NUMBER |
LOWERCASE_LATIN_ALPHABET |
LOWERCASE_ROMAN_NUMBER |
UPPERCASE_LATIN_ALPHABET |
UPPERCASE_ROMAN_NUMBER |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static NumberFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NumberFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NumberFormat HINDU_ARABIC_NUMBER
public static final NumberFormat LOWERCASE_LATIN_ALPHABET
public static final NumberFormat UPPERCASE_LATIN_ALPHABET
public static final NumberFormat LOWERCASE_ROMAN_NUMBER
public static final NumberFormat UPPERCASE_ROMAN_NUMBER
public static NumberFormat[] values()
for (NumberFormat c : NumberFormat.values()) System.out.println(c);
public static NumberFormat 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 String toString()
toString
in class Enum<NumberFormat>
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.