public enum PadOption extends Enum<PadOption>
EmptyForIteratorPadCheck
,
ParenPadCheck
Enum Constant and Description |
---|
NOSPACE
Represents no spacing following a left parenthesis
or preceding a right one.
|
SPACE
Represents mandatory spacing following a left parenthesis
and preceding a right one.
|
Modifier and Type | Method and Description |
---|---|
static PadOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PadOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PadOption NOSPACE
public static PadOption[] values()
for (PadOption c : PadOption.values()) System.out.println(c);
public static PadOption 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.