パッケージ org.aiwolf.client.lib
Enum Class Topic
- すべての実装されたインタフェース:
Serializable
,Comparable<Topic>
,Constable
文のトピックを表す列挙型
Enum type representing the topic of the sentence.
- 作成者:
- otsuki
-
ネストされたクラスの概要
クラスから継承されたネストされたクラス/インタフェース java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
列挙型定数の概要
列挙定数列挙型定数説明同意 Agreement襲撃宣言 Declaration of an attack襲撃報告 Report of an attackカミングアウト CO不同意 Disagreement占い宣言 Divination of a divination占い報告 Report of a divination推測 Estimate護衛宣言 Declaration of a guard護衛報告 Report of a guard霊媒報告 Report of an identification演算子 OperatorOVER OVERSKIP SKIP投票宣言 Declaration of a vote投票報告 Report of a vote -
メソッドの概要
修飾子とタイプメソッド説明static Topic
文字列が表すTopicを返す.演算子の場合はOPERATOR
を返す Returns the Topic that the given string represents.static Topic
Returns the enum constant of this class with the specified name.static Topic[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
列挙型定数の詳細
-
ESTIMATE
推測Estimate -
COMINGOUT
カミングアウトCO -
DIVINATION
占い宣言Divination of a divination -
DIVINED
占い報告Report of a divination -
IDENTIFIED
霊媒報告Report of an identification -
GUARD
護衛宣言Declaration of a guard -
GUARDED
護衛報告Report of a guard -
VOTE
投票宣言Declaration of a vote -
VOTED
投票報告Report of a vote -
ATTACK
襲撃宣言Declaration of an attack -
ATTACKED
襲撃報告Report of an attack -
AGREE
同意Agreement -
DISAGREE
不同意Disagreement -
OVER
OVEROVER -
SKIP
SKIPSKIP -
OPERATOR
演算子Operator
-
-
メソッドの詳細
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 戻り値:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- パラメータ:
name
- 返される列挙型定数の名前。- 戻り値:
- 指定した名前の列挙型定数
- 例外:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- 引数がnullの場合
-
getTopic
文字列が表す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.
-