public enum TraverseMode extends Enum<TraverseMode>
Enum Constant and Description |
---|
AIRPLANE |
BICYCLE |
BUS |
CABLE_CAR |
CAR |
FERRY |
FUNICULAR |
GONDOLA |
LEG_SWITCH |
RAIL |
SUBWAY |
TRAM |
TRANSIT |
WALK |
Modifier and Type | Method and Description |
---|---|
static Set<TraverseMode> |
internSet(Set<TraverseMode> modeSet) |
boolean |
isDriving() |
boolean |
isOnStreetNonTransit() |
boolean |
isTransit() |
static TraverseMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TraverseMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TraverseMode WALK
public static final TraverseMode BICYCLE
public static final TraverseMode CAR
public static final TraverseMode TRAM
public static final TraverseMode SUBWAY
public static final TraverseMode RAIL
public static final TraverseMode BUS
public static final TraverseMode FERRY
public static final TraverseMode CABLE_CAR
public static final TraverseMode GONDOLA
public static final TraverseMode FUNICULAR
public static final TraverseMode TRANSIT
public static final TraverseMode LEG_SWITCH
public static final TraverseMode AIRPLANE
public static TraverseMode[] values()
for (TraverseMode c : TraverseMode.values()) System.out.println(c);
public static TraverseMode 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 static Set<TraverseMode> internSet(Set<TraverseMode> modeSet)
public boolean isTransit()
public boolean isOnStreetNonTransit()
public boolean isDriving()
Copyright © 2018. All rights reserved.