Package ai.timefold.jpyinterpreter.util
Enum Class DefaultFormatSpec.GroupingOption
java.lang.Object
java.lang.Enum<DefaultFormatSpec.GroupingOption>
ai.timefold.jpyinterpreter.util.DefaultFormatSpec.GroupingOption
- All Implemented Interfaces:
Serializable,Comparable<DefaultFormatSpec.GroupingOption>,Constable
- Enclosing class:
- DefaultFormatSpec
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSignals the use of a comma for the thousands' separator.Signals the use of an underscore for the thousands' separator. -
Method Summary
Modifier and TypeMethodDescriptionfromString(String text) Returns the enum constant of this class with the specified name.static DefaultFormatSpec.GroupingOption[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMMA
Signals the use of a comma for the thousands' separator. -
UNDERSCORE
Signals the use of an underscore for the thousands' separator.
-
-
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
-
fromString
-