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