Enum Class GovernmentType
- All Implemented Interfaces:
Serializable, Comparable<GovernmentType>, Constable
政体类型
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription君主专制(试验性)君主立宪制法西斯主义分封制城市共和制社会主义 -
Method Summary
Modifier and TypeMethodDescriptionstatic GovernmentTypeReturns the enum constant of this class with the specified name.static GovernmentType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FEUDAL
分封制 -
REPUBLIC
城市共和制 -
CONSTITUTIONAL_MONARCHY
君主立宪制 -
ABSOLUTE_MONARCHY
君主专制(试验性) -
FASCISM
法西斯主义 -
SOCIALISM
社会主义
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-