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

列挙型 Topic

  • すべての実装されたインタフェース:
    java.io.Serializable, java.lang.Comparable<Topic>

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

      列挙定数 
      列挙型定数 説明
      AGREE
      同意 Agreement
      ATTACK
      襲撃宣言 Declaration of an attack
      ATTACKED
      襲撃報告 Report of an attack
      COMINGOUT
      カミングアウト CO
      DISAGREE
      不同意 Disagreement
      DIVINATION
      占い宣言 Divination of a divination
      DIVINED
      占い報告 Report of a divination
      ESTIMATE
      推測 Estimate
      GUARD
      護衛宣言 Declaration of a guard
      GUARDED
      護衛報告 Report of a guard
      IDENTIFIED
      霊媒報告 Report of an identification
      OPERATOR
      演算子 Operator
      OVER
      OVER OVER
      SKIP
      SKIP SKIP
      VOTE
      投票宣言 Declaration of a vote
      VOTED
      投票報告 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()
      この列挙型の定数を含む配列を宣言されている順序で返します。
      • クラスから継承されたメソッド java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • クラスから継承されたメソッド java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • 列挙型定数の詳細

      • 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()
        この列挙型の定数を含む配列を宣言されている順序で返します。 このメソッドは次のようにして定数を反復するために 使用できます:
        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 returns OPERATOR.
        パラメータ:
        s -
        TopicあるいはOperatorの文字列
        String representing Topic or Operator.
        戻り値:
        与えられた文字列に対応するTopic
        Topic corresponding to the given string.