public static enum IBond.Order extends Enum<IBond.Order>
Enum Constant and Description |
---|
DOUBLE |
QUADRUPLE |
QUINTUPLE |
SEXTUPLE |
SINGLE |
TRIPLE |
UNSET |
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 final IBond.Order QUINTUPLE
public static final IBond.Order SEXTUPLE
public static final IBond.Order UNSET
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
Order.QUINTUPLE.numeric() // 5
Order.SEXTUPLE.numeric() // 6
Order.UNSET.numeric() // 0
Copyright © 2021. All rights reserved.