Package de.brendamour.jpasskit.enums
Enum PKNumberStyle
- java.lang.Object
-
- java.lang.Enum<PKNumberStyle>
-
- de.brendamour.jpasskit.enums.PKNumberStyle
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PKNumberStyle>
public enum PKNumberStyle extends java.lang.Enum<PKNumberStyle>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PKNumberStyleDecimalPKNumberStylePercentPKNumberStyleScientificPKNumberStyleSpellOut
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PKNumberStylevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PKNumberStyle[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PKNumberStyleDecimal
public static final PKNumberStyle PKNumberStyleDecimal
-
PKNumberStylePercent
public static final PKNumberStyle PKNumberStylePercent
-
PKNumberStyleScientific
public static final PKNumberStyle PKNumberStyleScientific
-
PKNumberStyleSpellOut
public static final PKNumberStyle PKNumberStyleSpellOut
-
-
Method Detail
-
values
public static PKNumberStyle[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PKNumberStyle c : PKNumberStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PKNumberStyle valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-