Metrics. This class is scheduled to
be removed in the next major release.@Deprecated public enum Metrics extends Enum<Metrics> implements Metric
| Enum Constant and Description |
|---|
KILOMETERS
Deprecated.
|
MILES
Deprecated.
|
NEUTRAL
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getMultiplier()
Deprecated.
|
static Metrics |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static Metrics[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Metrics KILOMETERS
public static final Metrics MILES
public static final Metrics NEUTRAL
public static Metrics[] values()
for (Metrics c : Metrics.values()) System.out.println(c);
public static Metrics 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 double getMultiplier()
getMultiplier in interface org.springframework.data.geo.MetricCopyright © 2021. All rights reserved.