public enum TrackNumber extends Enum<TrackNumber>
| Enum Constant and Description |
|---|
BothOneAndTwo |
TrackOne |
TrackTwo |
Unknown |
| Modifier and Type | Method and Description |
|---|---|
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 Unknown
public static final TrackNumber TrackOne
public static final TrackNumber TrackTwo
public static final TrackNumber BothOneAndTwo
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 nullCopyright © 2024. All rights reserved.