public static enum Room.Type extends Enum<Room.Type>
| 列挙型定数と説明 |
|---|
conference |
interview |
presentation |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static Room.Type |
get(int type) |
static Room.Type |
get(Integer type) |
static Room.Type |
get(Long type) |
int |
getId() |
static Room.Type |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static Room.Type[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final Room.Type conference
public static final Room.Type presentation
public static final Room.Type interview
public static Room.Type[] values()
for(Room.Type c: Room.Type.values()) System.out.println(c);
public static Room.Type valueOf(String name)
name - 返される列挙型定数の名前。IllegalArgumentException - この列挙型に、指定した名前の定数がない場合NullPointerException - 引数がnullの場合public int getId()
public static Room.Type get(int type)
Copyright © 2012–2017 Apache Software Foundation. All rights reserved.