public static enum CocoaPlant.CocoaPlantSize extends Enum<CocoaPlant.CocoaPlantSize>
修飾子とタイプ | メソッドと説明 |
---|---|
static CocoaPlant.CocoaPlantSize |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static CocoaPlant.CocoaPlantSize[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final CocoaPlant.CocoaPlantSize SMALL
public static final CocoaPlant.CocoaPlantSize MEDIUM
public static final CocoaPlant.CocoaPlantSize LARGE
public static CocoaPlant.CocoaPlantSize[] values()
for(CocoaPlant.CocoaPlantSize c: CocoaPlant.CocoaPlantSize.values()) System.out.println(c);
public static CocoaPlant.CocoaPlantSize valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合Copyright © 2016. All rights reserved.