com.daylight.enumtype
Enum ChiralValue

java.lang.Object
  extended by java.lang.Enum<ChiralValue>
      extended by com.daylight.enumtype.ChiralValue
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ChiralValue>

public enum ChiralValue
extends java.lang.Enum<ChiralValue>

Chiral value values are 'None', 'Tetrahedral', 'TetrahedralAl', 'SquarePlanar', 'TrigonalBipyramidal', 'Octahedral', 'TetrahedralAnticlockwise', and 'TetrahedralClockwise'


Enum Constant Summary
None
           
Octahedral
           
SquarePlanar
           
Tetrahedral
           
TetrahedralAl
           
TetrahedralAnticlockwise
           
TetrahedralClockwise
           
TrigonalBipyramidal
           
 
Method Summary
static ChiralValue valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ChiralValue[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

None

public static final ChiralValue None

Tetrahedral

public static final ChiralValue Tetrahedral

TetrahedralAl

public static final ChiralValue TetrahedralAl

SquarePlanar

public static final ChiralValue SquarePlanar

TrigonalBipyramidal

public static final ChiralValue TrigonalBipyramidal

Octahedral

public static final ChiralValue Octahedral

TetrahedralAnticlockwise

public static final ChiralValue TetrahedralAnticlockwise

TetrahedralClockwise

public static final ChiralValue TetrahedralClockwise
Method Detail

values

public static final ChiralValue[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ChiralValue c : ChiralValue.values())
        System.out.println(c);

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

valueOf

public static ChiralValue 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