public static enum Place.GeometryType extends Enum<Place.GeometryType>
Enum Constant and Description |
---|
MULTIPOLYGON |
POINT |
POLYGON |
Modifier and Type | Method and Description |
---|---|
static Place.GeometryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Place.GeometryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Place.GeometryType POINT
public static final Place.GeometryType POLYGON
public static final Place.GeometryType MULTIPOLYGON
public static Place.GeometryType[] values()
for (Place.GeometryType c : Place.GeometryType.values()) System.out.println(c);
public static Place.GeometryType 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 null