public static enum PersonNameFormatter.Length extends java.lang.Enum<PersonNameFormatter.Length>
Enum Constant and Description |
---|
LONG
The longest name length.
|
MEDIUM
The most typical name length.
|
SHORT
A shortened name.
|
Modifier and Type | Method and Description |
---|---|
static PersonNameFormatter.Length |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PersonNameFormatter.Length[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersonNameFormatter.Length LONG
public static final PersonNameFormatter.Length MEDIUM
public static final PersonNameFormatter.Length SHORT
public static PersonNameFormatter.Length[] values()
for (PersonNameFormatter.Length c : PersonNameFormatter.Length.values()) System.out.println(c);
public static PersonNameFormatter.Length valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright ? 2016 Unicode, Inc. and others.