org.biojava.bio.structure
Class Bond

java.lang.Object
  extended by org.biojava.bio.structure.Bond

public class Bond
extends Object

Simple bond - it's just an edge/vertex for two Atom nodes.

Author:
Jules Jacobsen

Constructor Summary
Bond()
           
Bond(double length, BondType type, Group resA, Atom atomA, Group resB, Atom atomB)
           
 
Method Summary
 Atom getAtomA()
           
 Atom getAtomB()
           
 Group getGroupA()
           
 Group getGroupB()
           
 double getLength()
           
 BondType getType()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Bond

public Bond()

Bond

public Bond(double length,
            BondType type,
            Group resA,
            Atom atomA,
            Group resB,
            Atom atomB)
Method Detail

getAtomA

public Atom getAtomA()

getAtomB

public Atom getAtomB()

getGroupA

public Group getGroupA()

getGroupB

public Group getGroupB()

getLength

public double getLength()

getType

public BondType getType()

toString

public String toString()
Overrides:
toString in class Object