public enum GeometryShape extends Enum<GeometryShape>
| Enum Constant and Description |
|---|
GEOMETRY |
GEOMETRYCOLLECTION |
LINESTRING |
MULTILINESTRING |
MULTIPOINT |
MULTIPOLYGON |
POINT |
POLYGON |
| Modifier and Type | Method and Description |
|---|---|
static GeometryShape |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeometryShape[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeometryShape POINT
public static final GeometryShape LINESTRING
public static final GeometryShape POLYGON
public static final GeometryShape MULTIPOINT
public static final GeometryShape MULTILINESTRING
public static final GeometryShape MULTIPOLYGON
public static final GeometryShape GEOMETRYCOLLECTION
public static final GeometryShape GEOMETRY
public static GeometryShape[] values()
for (GeometryShape c : GeometryShape.values()) System.out.println(c);
public static GeometryShape 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 nullCopyright © 2017. All Rights Reserved.