public enum TrackNumber extends Enum<TrackNumber>
Enum Constant and Description |
---|
Track1
Magnetic card track 1.
|
Track2
Magnetic card track 2.
|
Track3
Magnetic card track 3.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer representation of the TrackNumber enumeration member.
|
static TrackNumber |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrackNumber[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrackNumber Track1
public static final TrackNumber Track2
public static final TrackNumber Track3
public static TrackNumber[] values()
for (TrackNumber c : TrackNumber.values()) System.out.println(c);
public static TrackNumber 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()
© 2016 ZIH Corp. All Rights Reserved.