パッケージ org.aiwolf.client.lib
列挙型 Topic
- java.lang.Object
-
- java.lang.Enum<Topic>
-
- org.aiwolf.client.lib.Topic
-
-
列挙型定数の概要
列挙定数 列挙型定数 説明 AGREE
同意 AgreementATTACK
襲撃宣言 Declaration of an attackATTACKED
襲撃報告 Report of an attackCOMINGOUT
カミングアウト CODISAGREE
不同意 DisagreementDIVINATION
占い宣言 Divination of a divinationDIVINED
占い報告 Report of a divinationESTIMATE
推測 EstimateGUARD
護衛宣言 Declaration of a guardGUARDED
護衛報告 Report of a guardIDENTIFIED
霊媒報告 Report of an identificationOPERATOR
演算子 OperatorOVER
OVER OVERSKIP
SKIP SKIPVOTE
投票宣言 Declaration of a voteVOTED
投票報告 Report of a vote
-
メソッドの概要
すべてのメソッド staticメソッド concreteメソッド 修飾子とタイプ メソッド 説明 static Topic
getTopic(java.lang.String s)
文字列が表すTopicを返す.演算子の場合はOPERATOR
を返す Returns the Topic that the given string represents.static Topic
valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。static Topic[]
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
-
-
-
列挙型定数の詳細
-
ESTIMATE
public static final Topic ESTIMATE
推測Estimate
-
COMINGOUT
public static final Topic COMINGOUT
カミングアウトCO
-
DIVINATION
public static final Topic DIVINATION
占い宣言Divination of a divination
-
DIVINED
public static final Topic DIVINED
占い報告Report of a divination
-
IDENTIFIED
public static final Topic IDENTIFIED
霊媒報告Report of an identification
-
GUARD
public static final Topic GUARD
護衛宣言Declaration of a guard
-
GUARDED
public static final Topic GUARDED
護衛報告Report of a guard
-
VOTE
public static final Topic VOTE
投票宣言Declaration of a vote
-
VOTED
public static final Topic VOTED
投票報告Report of a vote
-
ATTACK
public static final Topic ATTACK
襲撃宣言Declaration of an attack
-
ATTACKED
public static final Topic ATTACKED
襲撃報告Report of an attack
-
AGREE
public static final Topic AGREE
同意Agreement
-
DISAGREE
public static final Topic DISAGREE
不同意Disagreement
-
OVER
public static final Topic OVER
OVEROVER
-
SKIP
public static final Topic SKIP
SKIPSKIP
-
OPERATOR
public static final Topic OPERATOR
演算子Operator
-
-
メソッドの詳細
-
values
public static Topic[] values()
この列挙型の定数を含む配列を宣言されている順序で返します。 このメソッドは次のようにして定数を反復するために 使用できます:for (Topic c : Topic.values()) System.out.println(c);
- 戻り値:
- この列挙型の定数を含む、宣言されている順序での配列
-
valueOf
public static Topic valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。 文字列は、この型の列挙型定数を宣言するのに使用した識別子と正確に 一致している必要があります。(余分な空白文字を含めることは できません。)- パラメータ:
name
- 返される列挙型定数の名前。- 戻り値:
- 指定した名前の列挙型定数
- 例外:
java.lang.IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合java.lang.NullPointerException
- 引数がnullの場合
-
getTopic
public static Topic getTopic(java.lang.String s)
文字列が表すTopicを返す.演算子の場合はOPERATOR
を返すReturns the Topic that the given string represents. If the string represents an operator, this returnsOPERATOR
.- パラメータ:
s
-TopicあるいはOperatorの文字列String representing Topic or Operator.- 戻り値:
与えられた文字列に対応するTopicTopic corresponding to the given string.
-
-