public enum GeoType extends Enum<GeoType>
| Enum Constant and Description |
|---|
LINESTRING |
MULITLINESTRING |
MULTIPOINT |
MULTIPOLYGON |
POINT |
POLYGON |
| Modifier and Type | Method and Description |
|---|---|
String |
getMongoName() |
static GeoType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeoType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeoType POINT
public static final GeoType POLYGON
public static final GeoType LINESTRING
public static final GeoType MULTIPOINT
public static final GeoType MULITLINESTRING
public static final GeoType MULTIPOLYGON
public static GeoType[] values()
for (GeoType c : GeoType.values()) System.out.println(c);
public static GeoType 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 nullpublic String getMongoName()
Copyright © 2022. All rights reserved.