public enum RightCurlyOption extends Enum<RightCurlyOption>
'}'
.列挙型定数と説明 |
---|
ALONE
Represents the policy that the brace must be alone on the line.
|
SAME
Represents the policy that the brace must be on the same line as the
next statement.
|
public static final RightCurlyOption ALONE
try { ... } finally {
public static final RightCurlyOption SAME
try { ... } finally {
public static RightCurlyOption[] values()
for(RightCurlyOption c: RightCurlyOption.values()) System.out.println(c);
public static RightCurlyOption valueOf(String name)
name返される列挙型定数の名前
- IllegalArgumentException指定された名前を持つ定数を
- この列挙型が持っていない場合NullPointerException引数がnullの場合
Copyright © 2001-2013. All Rights Reserved.