public enum StkPatternFileVersion extends Enum<StkPatternFileVersion> implements Enumeration
Enum Constant and Description |
---|
UNKNOWN
Version which corresponds to an unrecognized version stamp in an STK pattern file.
|
V20
Version 2.0 format which corresponds to a stk.v.2.0 version stamp in an STK pattern file.
|
V30
Version 3.0 format which corresponds to a stk.v.3.0 version stamp in an STK pattern file.
|
V43
Version 4.3 format which corresponds to a stk.v.4.3 version stamp in an STK pattern file.
|
V60
Version 6.0 format which corresponds to a stk.v.6.0 version stamp in an STK pattern file.
|
Modifier and Type | Method and Description |
---|---|
static StkPatternFileVersion |
getDefault()
Get the enum constant that is considered to be the default.
|
static StkPatternFileVersion |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static StkPatternFileVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StkPatternFileVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StkPatternFileVersion UNKNOWN
public static final StkPatternFileVersion V20
public static final StkPatternFileVersion V30
public static final StkPatternFileVersion V43
public static final StkPatternFileVersion V60
public static StkPatternFileVersion[] values()
for (StkPatternFileVersion c : StkPatternFileVersion.values()) System.out.println(c);
public static StkPatternFileVersion valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
getValue
in interface Enumeration
@Nonnull public static StkPatternFileVersion getFromValue(int value)
value
- a numeric value.@Nonnull public static StkPatternFileVersion getDefault()