com.google.maps.internal.StringJoin.UrlValue, java.io.Serializable, java.lang.Comparable<TransitRoutingPreference>public enum TransitRoutingPreference extends java.lang.Enum<TransitRoutingPreference> implements com.google.maps.internal.StringJoin.UrlValue
| Enum Constant | Description |
|---|---|
FEWER_TRANSFERS |
|
LESS_WALKING |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
toString() |
|
java.lang.String |
toUrlValue() |
|
static TransitRoutingPreference |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static TransitRoutingPreference[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransitRoutingPreference LESS_WALKING
public static final TransitRoutingPreference FEWER_TRANSFERS
public static TransitRoutingPreference[] values()
for (TransitRoutingPreference c : TransitRoutingPreference.values()) System.out.println(c);
public static TransitRoutingPreference 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 nullpublic java.lang.String toString()
toString in class java.lang.Enum<TransitRoutingPreference>public java.lang.String toUrlValue()
toUrlValue in interface com.google.maps.internal.StringJoin.UrlValue