public static enum ItineraryEntry.TripType extends Enum<ItineraryEntry.TripType>
Enum Constant and Description |
---|
CALENDAR
ItineraryEntry is created from a CalendarTrip . |
LEARNED
ItineraryEntry is created from a LearnedTrip . |
SAVED
ItineraryEntry is created from a SavedTrip . |
Modifier and Type | Method and Description |
---|---|
static ItineraryEntry.TripType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ItineraryEntry.TripType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItineraryEntry.TripType SAVED
ItineraryEntry
is created from a SavedTrip
.public static final ItineraryEntry.TripType CALENDAR
ItineraryEntry
is created from a CalendarTrip
.public static final ItineraryEntry.TripType LEARNED
ItineraryEntry
is created from a LearnedTrip
.public static ItineraryEntry.TripType[] values()
for (ItineraryEntry.TripType c : ItineraryEntry.TripType.values()) System.out.println(c);
public static ItineraryEntry.TripType 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.