パッケージ org.aiwolf.client.lib

Enum Class Topic

java.lang.Object
java.lang.Enum<Topic>
org.aiwolf.client.lib.Topic
すべての実装されたインタフェース:
Serializable, Comparable<Topic>, Constable

public enum Topic extends Enum<Topic>
文のトピックを表す列挙型
Enum type representing the topic of the sentence.
作成者:
otsuki
  • 列挙型定数の詳細

    • 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
      OVER
      OVER
    • SKIP

      public static final Topic SKIP
      SKIP
      SKIP
    • OPERATOR

      public static final Topic OPERATOR
      演算子
      Operator
  • メソッドの詳細

    • values

      public static Topic[] 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

      public static Topic valueOf(String name)
      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 name
      NullPointerException - 引数がnullの場合
    • getTopic

      public static Topic getTopic(String s)
      文字列が表すTopicを返す.演算子の場合はOPERATORを返す
      Returns the Topic that the given string represents. If the string represents an operator, this returns OPERATOR.
      パラメータ:
      s -
      TopicあるいはOperatorの文字列
      String representing Topic or Operator.
      戻り値:
      与えられた文字列に対応するTopic
      Topic corresponding to the given string.