com.azalient.api.a.position
Enum IAngle.AngleRange

java.lang.Object
  extended by java.lang.Enum<IAngle.AngleRange>
      extended by com.azalient.api.a.position.IAngle.AngleRange
All Implemented Interfaces:
Serializable, Comparable<IAngle.AngleRange>
Enclosing interface:
IAngle

public static enum IAngle.AngleRange
extends Enum<IAngle.AngleRange>

An angle object can be set to have values of (-180 to +180] or [0 to +360). This enumeration is used to identify that setting.


Enum Constant Summary
NEG180_POS180
           
ZERO_360
           
 
Method Summary
static IAngle.AngleRange valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IAngle.AngleRange[] 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

NEG180_POS180

public static final IAngle.AngleRange NEG180_POS180

ZERO_360

public static final IAngle.AngleRange ZERO_360
Method Detail

values

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

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

valueOf

public static IAngle.AngleRange 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