Package pro.javacard
Enum JavaCardSDK.Version
- java.lang.Object
-
- java.lang.Enum<JavaCardSDK.Version>
-
- pro.javacard.JavaCardSDK.Version
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<JavaCardSDK.Version>
- Enclosing class:
- JavaCardSDK
public static enum JavaCardSDK.Version extends java.lang.Enum<JavaCardSDK.Version>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisOneOf(JavaCardSDK.Version... versions)booleanisV3()java.lang.StringtoString()static JavaCardSDK.VersionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static JavaCardSDK.Version[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final JavaCardSDK.Version NONE
-
V211
public static final JavaCardSDK.Version V211
-
V212
public static final JavaCardSDK.Version V212
-
V221
public static final JavaCardSDK.Version V221
-
V222
public static final JavaCardSDK.Version V222
-
V301
public static final JavaCardSDK.Version V301
-
V304
public static final JavaCardSDK.Version V304
-
V305
public static final JavaCardSDK.Version V305
-
V310
public static final JavaCardSDK.Version V310
-
-
Method Detail
-
values
public static JavaCardSDK.Version[] 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 (JavaCardSDK.Version c : JavaCardSDK.Version.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JavaCardSDK.Version 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
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<JavaCardSDK.Version>
-
isV3
public boolean isV3()
-
isOneOf
public boolean isOneOf(JavaCardSDK.Version... versions)
-
-