public enum BraceStyle extends java.lang.Enum<BraceStyle>
Enum Constant and Description |
---|
EndOfLine |
NextLine |
NextLineEachShifted |
NextLineIfWrapped |
NextLineShifted |
Modifier and Type | Method and Description |
---|---|
static BraceStyle |
fromInt(int value) |
int |
intValue() |
static BraceStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BraceStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BraceStyle EndOfLine
public static final BraceStyle NextLine
public static final BraceStyle NextLineShifted
public static final BraceStyle NextLineEachShifted
public static final BraceStyle NextLineIfWrapped
public static BraceStyle[] values()
for (BraceStyle c : BraceStyle.values()) System.out.println(c);
public static BraceStyle 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 nullpublic final int intValue()
public static BraceStyle fromInt(int value)