public class OakBond extends Object
| Modifier and Type | Field and Description |
|---|---|
protected OakAtom |
source |
protected OakAtom |
target |
| Constructor and Description |
|---|
OakBond(int identifier) |
OakBond(int identifier,
BondType bondType) |
OakBond(OakBond bond)
This is a copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
connectsAtom(OakAtom oakAtom) |
boolean |
equals(Object o) |
BondType |
getBondType() |
OakBond |
getCopy() |
int |
getIdentifier() |
OakAtom |
getSource() |
OakAtom |
getTarget() |
int |
hashCode() |
void |
setBondType(BondType bondType) |
void |
setSource(OakAtom source) |
void |
setTarget(OakAtom target) |
String |
toString() |
public OakBond(int identifier)
public OakBond(int identifier,
BondType bondType)
public OakBond(OakBond bond)
bond - The bond to copy.public int getIdentifier()
public BondType getBondType()
public void setBondType(BondType bondType)
public OakAtom getSource()
public void setSource(OakAtom source)
public OakAtom getTarget()
public void setTarget(OakAtom target)
public boolean connectsAtom(OakAtom oakAtom)
public OakBond getCopy()
Copyright © 2018. All rights reserved.