public static enum ParkingManager.SortBy extends Enum<ParkingManager.SortBy>
Enum Constant and Description |
---|
DISTANCE
Indicates the results are to be sorted by distance.
|
NONE
Indicates no sorting is to be performed on the results.
|
PRICE
Indicates the results are to be sorted by the 2 hour price.
|
Modifier and Type | Method and Description |
---|---|
static ParkingManager.SortBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParkingManager.SortBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParkingManager.SortBy NONE
public static final ParkingManager.SortBy DISTANCE
public static final ParkingManager.SortBy PRICE
public static ParkingManager.SortBy[] values()
for (ParkingManager.SortBy c : ParkingManager.SortBy.values()) System.out.println(c);
public static ParkingManager.SortBy 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 nullCopyright © 2013-2016 INRIX, Inc. All Rights Reserved.