public enum TreeSpecies extends Enum<TreeSpecies>
| 列挙型定数と説明 |
|---|
ACACIA
Represents acacia trees.
|
BIRCH
Represents birches.
|
DARK_OAK
Represents dark oak trees.
|
GENERIC
Represents the common tree species.
|
JUNGLE
Represents jungle trees.
|
REDWOOD
Represents the darker barked/leaved tree species.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static TreeSpecies |
getByData(byte data)
非推奨です。
Magic value
|
byte |
getData()
非推奨です。
Magic value
|
static TreeSpecies |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static TreeSpecies[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final TreeSpecies GENERIC
public static final TreeSpecies REDWOOD
public static final TreeSpecies BIRCH
public static final TreeSpecies JUNGLE
public static final TreeSpecies ACACIA
public static final TreeSpecies DARK_OAK
public static TreeSpecies[] values()
for(TreeSpecies c: TreeSpecies.values()) System.out.println(c);
public static TreeSpecies valueOf(String name)
name - 返される列挙型定数の名前。IllegalArgumentException - この列挙型に、指定した名前の定数がない場合NullPointerException - 引数がnullの場合@Deprecated public byte getData()
@Deprecated public static TreeSpecies getByData(byte data)
data - Data value to fetchTreeSpecies representing the given value, or null
if it doesn't existCopyright © 2016. All rights reserved.