public static enum ParkingBlock.ParkingSection.Side extends Enum<ParkingBlock.ParkingSection.Side>
Enum Constant and Description |
---|
CENTER
Parking section is in the middle of the street.
|
LEFT
Parking section is on the left side of the street.
|
OTHER
Parking section is in another section of the street.
|
RIGHT
Parking section is on the right side of the street.
|
Modifier and Type | Method and Description |
---|---|
static ParkingBlock.ParkingSection.Side |
fromValue(String value)
Gets the parking section
ParkingBlock.ParkingSection.Side type by the specified value. |
String |
getValue()
Gets the
ParkingBlock.ParkingSection.Side as string. |
String |
toString() |
static ParkingBlock.ParkingSection.Side |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParkingBlock.ParkingSection.Side[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParkingBlock.ParkingSection.Side RIGHT
public static final ParkingBlock.ParkingSection.Side LEFT
public static final ParkingBlock.ParkingSection.Side CENTER
public static final ParkingBlock.ParkingSection.Side OTHER
public static ParkingBlock.ParkingSection.Side[] values()
for (ParkingBlock.ParkingSection.Side c : ParkingBlock.ParkingSection.Side.values()) System.out.println(c);
public static ParkingBlock.ParkingSection.Side 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 String getValue()
ParkingBlock.ParkingSection.Side
as string.public String toString()
toString
in class Enum<ParkingBlock.ParkingSection.Side>
public static ParkingBlock.ParkingSection.Side fromValue(String value)
ParkingBlock.ParkingSection.Side
type by the specified value.value
- The ParkingBlock.ParkingSection.Side
as string.ParkingBlock.ParkingSection.Side
for the specified value, or ParkingBlock.ParkingSection.Side.OTHER
if not found.Copyright © 2013-2016 INRIX, Inc. All Rights Reserved.