com.daylight.enumtype
Enum BondStyle
java.lang.Object
java.lang.Enum<BondStyle>
com.daylight.enumtype.BondStyle
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<BondStyle>
public enum BondStyle
- extends java.lang.Enum<BondStyle>
BondStyle values are 'EdgeReset', 'EdgeSimple', 'EdgeTee', 'EdgeTeeIn', 'EdgeTeeOut', 'EdgeTri', 'EdgeTriIn', 'EdgeTriOut', 'EdgeHash', 'EdgeDative', 'EdgeTri_TriIn', 'EdgeTri_TriOut', 'EdgeTee_TeeIn', or 'EdgeTee_TeeOut'
Method Summary |
static BondStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BondStyle[] |
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 |
EdgeReset
public static final BondStyle EdgeReset
EdgeSimple
public static final BondStyle EdgeSimple
EdgeTee
public static final BondStyle EdgeTee
EdgeTeeIn
public static final BondStyle EdgeTeeIn
EdgeTeeOut
public static final BondStyle EdgeTeeOut
EdgeTri
public static final BondStyle EdgeTri
EdgeTriIn
public static final BondStyle EdgeTriIn
EdgeTriOut
public static final BondStyle EdgeTriOut
EdgeHash
public static final BondStyle EdgeHash
EdgeDative
public static final BondStyle EdgeDative
EdgeTri_TriIn
public static final BondStyle EdgeTri_TriIn
EdgeTri_TriOut
public static final BondStyle EdgeTri_TriOut
EdgeTee_TeeIn
public static final BondStyle EdgeTee_TeeIn
EdgeTee_TeeOut
public static final BondStyle EdgeTee_TeeOut
values
public static final BondStyle[] 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(BondStyle c : BondStyle.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static BondStyle 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