public static enum Schedule.ScheduleType extends Enum<Schedule.ScheduleType>
ScheduleType
determines whether it should be scheduled with a specified
arrival time (taking into consideration traffic and stops) or a specified departure time.Enum Constant and Description |
---|
ARRIVAL
Schedule based on arrival time.
|
DEPARTURE
Schedule based on departure time.
|
Modifier and Type | Method and Description |
---|---|
static Schedule.ScheduleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Schedule.ScheduleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Schedule.ScheduleType ARRIVAL
public static final Schedule.ScheduleType DEPARTURE
public static Schedule.ScheduleType[] values()
for (Schedule.ScheduleType c : Schedule.ScheduleType.values()) System.out.println(c);
public static Schedule.ScheduleType 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 © 2013-2018 INRIX, Inc. All Rights Reserved.