Enum Team

java.lang.Object
java.lang.Enum<Team>
jp.sourceforge.jindolf.corelib.Team
All Implemented Interfaces:
Serializable, Comparable<Team>, java.lang.constant.Constable

public enum Team extends Enum<Team>
陣営種別。
  • Enum Constant Details

    • VILLAGE

      public static final Team VILLAGE
      村陣営。
    • WOLF

      public static final Team WOLF
      狼陣営。
    • HAMSTER

      public static final Team HAMSTER
      ハムスター陣営。
  • Method Details

    • values

      public static Team[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Team valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getTeamName

      public String getTeamName()
      チーム名を取得する。
      Returns:
      チーム名
    • getXmlName

      public String getXmlName()
      XML用シンボルを取得する。
      Returns:
      XML用シンボル