com.azalient.apo.enums
Enum ParkingAngle

java.lang.Object
  extended by java.lang.Enum<ParkingAngle>
      extended by 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


Enum Constant Summary
Either90
           
In45
           
In60
           
In90
           
Out45
           
Out60
           
Out90
           
Parallel
           
 
Method Summary
 Angle angle()
           
 int degrees()
           
 String description()
           
 int face()
           
static ParkingAngle parse(String s)
           
 String toString()
           
static ParkingAngle valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ParkingAngle[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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)