public enum CardProtocol extends java.lang.Enum<CardProtocol>
SmartCard communication protocol representation
| Modifier and Type | Method and Description |
|---|---|
static CardProtocol |
fromInt(int rawValue)
Calculate enum value from representing int value
|
int |
getRawValue()
Representing int value of the enum
|
static CardProtocol |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CardProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CardProtocol T0
public static final CardProtocol T1
public static final CardProtocol T15
public static CardProtocol[] values()
for (CardProtocol c : CardProtocol.values()) System.out.println(c);
public static CardProtocol 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 nullpublic int getRawValue()
Representing int value of the enum
public static CardProtocol fromInt(int rawValue)
Calculate enum value from representing int value
rawValue - representing int value