public enum DistanceSort extends java.lang.Enum<DistanceSort>
Enum Constant and Description |
---|
ASC
The ASC value indicates that Beacons will be sorted in the ascending order.
|
DESC
The DESC value indicates that Beacons will be sorted in the descending order.
|
DISABLED
The DISABLED value indicates that sorting is disabled.
|
Modifier and Type | Method and Description |
---|---|
static DistanceSort |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DistanceSort[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistanceSort ASC
public static final DistanceSort DESC
public static final DistanceSort DISABLED
public static DistanceSort[] values()
for (DistanceSort c : DistanceSort.values()) System.out.println(c);
public static DistanceSort valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null