public static enum TandemEvent.TEvent extends java.lang.Enum<TandemEvent.TEvent>
| Enum Constant and Description |
|---|
Arrival
When a customer arrives
|
Service1
When a customer completes service at station 1
|
Service2
When a customer completes service at station 2
|
| Modifier and Type | Method and Description |
|---|---|
static TandemEvent.TEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TandemEvent.TEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TandemEvent.TEvent Arrival
public static final TandemEvent.TEvent Service1
public static final TandemEvent.TEvent Service2
public static TandemEvent.TEvent[] values()
for (TandemEvent.TEvent c : TandemEvent.TEvent.values()) System.out.println(c);
public static TandemEvent.TEvent 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 null