public static enum GeoValue.Unit extends Enum<GeoValue.Unit>
| Enum Constant and Description |
|---|
FEET |
KILOMETERS |
METERS |
MILES |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static GeoValue.Unit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeoValue.Unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeoValue.Unit KILOMETERS
public static final GeoValue.Unit METERS
public static final GeoValue.Unit FEET
public static final GeoValue.Unit MILES
public static GeoValue.Unit[] values()
for (GeoValue.Unit c : GeoValue.Unit.values()) System.out.println(c);
public static GeoValue.Unit 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 toString()
toString in class Enum<GeoValue.Unit>Copyright © 2021 RedisLabs. All rights reserved.