public static enum Ocelot.Type extends Enum<Ocelot.Type>
列挙型定数と説明 |
---|
BLACK_CAT |
RED_CAT |
SIAMESE_CAT |
WILD_OCELOT |
修飾子とタイプ | メソッドと説明 |
---|---|
int |
getId()
非推奨です。
Magic value
|
static Ocelot.Type |
getType(int id)
非推奨です。
Magic value
|
static Ocelot.Type |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static Ocelot.Type[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final Ocelot.Type WILD_OCELOT
public static final Ocelot.Type BLACK_CAT
public static final Ocelot.Type RED_CAT
public static final Ocelot.Type SIAMESE_CAT
public static Ocelot.Type[] values()
for(Ocelot.Type c: Ocelot.Type.values()) System.out.println(c);
public static Ocelot.Type valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合@Deprecated public int getId()
@Deprecated public static Ocelot.Type getType(int id)
id
- ID of the cat type to get.Copyright © 2016. All rights reserved.