public enum IndentationType extends Enum<IndentationType>
| Enum Constant and Description |
|---|
EIGHT_SPACE |
FOUR_SPACE |
SIXTEEN_SPACE |
TWELVE_SPACE |
TWENTY_EIGHT_SPACE |
TWENTY_FOUR_SPACE |
TWENTY_SPACE |
| Modifier and Type | Method and Description |
|---|---|
static IndentationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndentationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndentationType FOUR_SPACE
public static final IndentationType EIGHT_SPACE
public static final IndentationType TWELVE_SPACE
public static final IndentationType SIXTEEN_SPACE
public static final IndentationType TWENTY_SPACE
public static final IndentationType TWENTY_FOUR_SPACE
public static final IndentationType TWENTY_EIGHT_SPACE
public static IndentationType[] values()
for (IndentationType c : IndentationType.values()) System.out.println(c);
public static IndentationType 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 © 2018. All rights reserved.