net.surveyos.sourceforge.jtswarped.angles
Enum SurveyorsDirection.Quadrant

java.lang.Object
  extended by java.lang.Enum<SurveyorsDirection.Quadrant>
      extended by net.surveyos.sourceforge.jtswarped.angles.SurveyorsDirection.Quadrant
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SurveyorsDirection.Quadrant>
Enclosing interface:
SurveyorsDirection

public static enum SurveyorsDirection.Quadrant
extends java.lang.Enum<SurveyorsDirection.Quadrant>

Defines a set of quadrants to which a direction can belong. These are the quadrants typically used by land surveyors to represent a direction as a bearing.


Enum Constant Summary
NORTHEAST
           
NORTHWEST
           
SOUTHEAST
           
SOUTHWEST
           
 
Method Summary
static SurveyorsDirection.Quadrant valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SurveyorsDirection.Quadrant[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NORTHEAST

public static final SurveyorsDirection.Quadrant NORTHEAST

SOUTHEAST

public static final SurveyorsDirection.Quadrant SOUTHEAST

SOUTHWEST

public static final SurveyorsDirection.Quadrant SOUTHWEST

NORTHWEST

public static final SurveyorsDirection.Quadrant NORTHWEST
Method Detail

values

public static SurveyorsDirection.Quadrant[] 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 (SurveyorsDirection.Quadrant c : SurveyorsDirection.Quadrant.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SurveyorsDirection.Quadrant valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null