public enum WrapOption extends Enum<WrapOption>
Enum Constant and Description |
---|
EOL
Require that the token is at the end of the line.
|
NL
Require that the token is on a new line.
|
Modifier and Type | Method and Description |
---|---|
static WrapOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WrapOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WrapOption NL
public static final WrapOption EOL
public static WrapOption[] values()
for (WrapOption c : WrapOption.values()) System.out.println(c);
public static WrapOption 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 © 2001–2018. All rights reserved.