public enum PriceLevel extends java.lang.Enum<PriceLevel> implements com.google.maps.internal.StringJoin.UrlValue
Enum Constant and Description |
---|
EXPENSIVE |
FREE |
INEXPENSIVE |
MODERATE |
UNKNOWN
Indicates an unknown price level type returned by the server.
|
VERY_EXPENSIVE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
java.lang.String |
toUrlValue() |
static PriceLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PriceLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PriceLevel FREE
public static final PriceLevel INEXPENSIVE
public static final PriceLevel MODERATE
public static final PriceLevel EXPENSIVE
public static final PriceLevel VERY_EXPENSIVE
public static final PriceLevel UNKNOWN
public static PriceLevel[] values()
for (PriceLevel c : PriceLevel.values()) System.out.println(c);
public static PriceLevel 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<PriceLevel>
public java.lang.String toUrlValue()
toUrlValue
in interface com.google.maps.internal.StringJoin.UrlValue