public static enum IBond.Order extends Enum<IBond.Order>
Modifier and Type | Method and Description |
---|---|
Integer |
numeric()
Access a numeric value for the number of bonded electron pairs.
|
static IBond.Order |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IBond.Order[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IBond.Order SINGLE
public static final IBond.Order DOUBLE
public static final IBond.Order TRIPLE
public static final IBond.Order QUADRUPLE
public static IBond.Order[] values()
for (IBond.Order c : IBond.Order.values()) System.out.println(c);
public static IBond.Order valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic Integer numeric()
Order.SINGLE.numeric() // 1
Order.DOUBLE.numeric() // 2
Order.TRIPLE.numeric() // 3
Order.QUADRUPLE.numeric() // 4