public static enum GeoArgs.Unit extends Enum<GeoArgs.Unit> implements ProtocolKeyword
Enum Constant and Description |
---|
ft
feet.
|
km
kilometer.
|
m
meter.
|
mi
mile.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes() |
static GeoArgs.Unit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeoArgs.Unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
toString
public static final GeoArgs.Unit m
public static final GeoArgs.Unit km
public static final GeoArgs.Unit ft
public static final GeoArgs.Unit mi
public static GeoArgs.Unit[] values()
for (GeoArgs.Unit c : GeoArgs.Unit.values()) System.out.println(c);
public static GeoArgs.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 byte[] getBytes()
getBytes
in interface ProtocolKeyword
Copyright © 2024 lettuce.io. All rights reserved.