public static enum Statistic.Type extends Enum<Statistic.Type>
列挙型定数と説明 |
---|
BLOCK
Statistics of this type require a Block Material qualifier.
|
ENTITY
Statistics of this type require an EntityType qualifier.
|
ITEM
Statistics of this type require an Item Material qualifier.
|
UNTYPED
Statistics of this type do not require a qualifier.
|
修飾子とタイプ | メソッドと説明 |
---|---|
static Statistic.Type |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static Statistic.Type[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final Statistic.Type UNTYPED
public static final Statistic.Type ITEM
public static final Statistic.Type BLOCK
public static final Statistic.Type ENTITY
public static Statistic.Type[] values()
for(Statistic.Type c: Statistic.Type.values()) System.out.println(c);
public static Statistic.Type valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合Copyright © 2016. All rights reserved.