public static enum Geometry.Type extends java.lang.Enum<Geometry.Type>
Enum Constant and Description |
---|
Empty |
GeometryCollection |
LineString |
MultiLineString |
MultiPoint |
MultiPolygon |
Point |
Polygon |
Modifier and Type | Method and Description |
---|---|
static Geometry.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Geometry.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Geometry.Type Empty
public static final Geometry.Type Point
public static final Geometry.Type LineString
public static final Geometry.Type Polygon
public static final Geometry.Type MultiPoint
public static final Geometry.Type MultiLineString
public static final Geometry.Type MultiPolygon
public static final Geometry.Type GeometryCollection
public static Geometry.Type[] values()
for (Geometry.Type c : Geometry.Type.values()) System.out.println(c);
public static Geometry.Type 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 null