public class BondEnergy
extends java.lang.Object
Constructor and Description |
---|
BondEnergy(java.lang.String symbol1,
java.lang.String symbol2,
org.openscience.cdk.interfaces.IBond.Order order,
int energy)
Creates a new bond energy for the given elements and bond order.
|
Modifier and Type | Method and Description |
---|---|
org.openscience.cdk.interfaces.IBond.Order |
getBondOrder()
Returns the bond order for this bond type energy.
|
int |
getEnergy()
Returns the energy for this bond type.
|
java.lang.String |
getSymbolFirstAtom()
Returns the element symbol of the first atom.
|
java.lang.String |
getSymbolSecondAtom()
Returns the element symbol of the second atom.
|
boolean |
matches(org.openscience.cdk.interfaces.IBond bond) |
public BondEnergy(java.lang.String symbol1, java.lang.String symbol2, org.openscience.cdk.interfaces.IBond.Order order, int energy)
symbol1
- element symbol for the first atomsymbol2
- element symbol for the second atomorder
- bond orderenergy
- energy for this bond typepublic java.lang.String getSymbolFirstAtom()
String
public java.lang.String getSymbolSecondAtom()
String
public org.openscience.cdk.interfaces.IBond.Order getBondOrder()
IBond.Order
public int getEnergy()
public boolean matches(org.openscience.cdk.interfaces.IBond bond)
bond
-