public enum BlockOption extends Enum<BlockOption>
EmptyBlockCheck
列挙型定数と説明 |
---|
STMT
Represents the policy that there is a statement in the block.
|
TEXT
Represents the policy that there is some text in the block.
|
public static final BlockOption TEXT
catch (Exception ex) { // This is a bad coding practice }
public static final BlockOption STMT
finally { lock.release(); }
public static BlockOption[] values()
for(BlockOption c: BlockOption.values()) System.out.println(c);
public static BlockOption valueOf(String name)
name返される列挙型定数の名前
- IllegalArgumentException指定された名前を持つ定数を
- この列挙型が持っていない場合NullPointerException引数がnullの場合
Copyright © 2001-2013. All Rights Reserved.