com.azalient.apo.enums
Enum ParkingAngle
java.lang.Object
java.lang.Enum<ParkingAngle>
com.azalient.apo.enums.ParkingAngle
- All Implemented Interfaces:
- Serializable, Comparable<ParkingAngle>
public enum ParkingAngle
- extends Enum<ParkingAngle>
Parking orientations: parallel, 45, 60, 90 face-in, fact-out, etc
Parallel
public static final ParkingAngle Parallel
In45
public static final ParkingAngle In45
In60
public static final ParkingAngle In60
In90
public static final ParkingAngle In90
Either90
public static final ParkingAngle Either90
Out90
public static final ParkingAngle Out90
Out60
public static final ParkingAngle Out60
Out45
public static final ParkingAngle Out45
values
public static ParkingAngle[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ParkingAngle c : ParkingAngle.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ParkingAngle valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
degrees
public int degrees()
face
public int face()
description
public String description()
toString
public String toString()
- Overrides:
toString in class Enum<ParkingAngle>
angle
public Angle angle()
parse
public static ParkingAngle parse(String s)