public static enum FormatPreferences.SpaceType extends Enum<FormatPreferences.SpaceType>
Modifier and Type | Method and Description |
---|---|
static FormatPreferences.SpaceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormatPreferences.SpaceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormatPreferences.SpaceType NONE
public static final FormatPreferences.SpaceType SPACE
public static final FormatPreferences.SpaceType NEWLINE
public static FormatPreferences.SpaceType[] values()
for (FormatPreferences.SpaceType c : FormatPreferences.SpaceType.values()) System.out.println(c);
public static FormatPreferences.SpaceType 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 JBoss by Red Hat. All rights reserved.