Enum Class GovernmentType

java.lang.Object
java.lang.Enum<GovernmentType>
net.chen.legacyLand.nation.GovernmentType
All Implemented Interfaces:
Serializable, Comparable<GovernmentType>, Constable

public enum GovernmentType extends Enum<GovernmentType>
政体类型
  • Enum Constant Details

    • FEUDAL

      public static final GovernmentType FEUDAL
      分封制
    • REPUBLIC

      public static final GovernmentType REPUBLIC
      城市共和制
    • CONSTITUTIONAL_MONARCHY

      public static final GovernmentType CONSTITUTIONAL_MONARCHY
      君主立宪制
    • ABSOLUTE_MONARCHY

      public static final GovernmentType ABSOLUTE_MONARCHY
      君主专制(试验性)
    • FASCISM

      public static final GovernmentType FASCISM
      法西斯主义
    • SOCIALISM

      public static final GovernmentType SOCIALISM
      社会主义
  • Method Details

    • values

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

      public static GovernmentType 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.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null