public enum StrikeType extends java.lang.Enum<StrikeType>
Enum Constant and Description |
---|
DOUBLE_STRIKE |
NO_STRIKE |
SINGLE_STRIKE |
Modifier and Type | Method and Description |
---|---|
static StrikeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StrikeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StrikeType DOUBLE_STRIKE
public static final StrikeType NO_STRIKE
public static final StrikeType SINGLE_STRIKE
public static StrikeType[] values()
for (StrikeType c : StrikeType.values()) System.out.println(c);
public static StrikeType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright 2021 The Apache Software Foundation or its licensors, as applicable.