public static enum ParkingLot.Tendency extends Enum<ParkingLot.Tendency>
Enum Constant and Description |
---|
EMPTYING
Emptying.
|
EMPTYING_QUICKLY
Emptying quickly.
|
EMPTYING_SLOWLY
Emptying slowly.
|
FILLING
Filling.
|
FILLING_QUICKLY
Filling quickly.
|
FILLING_SLOWLY
Filling slowly.
|
UNCHANGING
Unchanging.
|
UNKNOWN
Unknown.
|
Modifier and Type | Method and Description |
---|---|
static ParkingLot.Tendency |
fromValue(int value)
Gets the tendency by the specified value.
|
int |
getValue()
Gets the tendency as an int.
|
static ParkingLot.Tendency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParkingLot.Tendency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParkingLot.Tendency UNKNOWN
public static final ParkingLot.Tendency FILLING_QUICKLY
public static final ParkingLot.Tendency FILLING
public static final ParkingLot.Tendency FILLING_SLOWLY
public static final ParkingLot.Tendency UNCHANGING
public static final ParkingLot.Tendency EMPTYING_SLOWLY
public static final ParkingLot.Tendency EMPTYING
public static final ParkingLot.Tendency EMPTYING_QUICKLY
public static ParkingLot.Tendency[] values()
for (ParkingLot.Tendency c : ParkingLot.Tendency.values()) System.out.println(c);
public static ParkingLot.Tendency 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 int getValue()
public static ParkingLot.Tendency fromValue(int value)
value
- The tendency as an int.ParkingLot.Tendency.UNKNOWN
if not found.Copyright © 2013-2016 INRIX, Inc. All Rights Reserved.