JSci.chemistry
Class Molecule

java.lang.Object
  extended by JSci.physics.Particle
      extended by JSci.chemistry.Molecule
All Implemented Interfaces:
java.io.Serializable

public class Molecule
extends Particle

A class representing molecules.

Version:
0.1
Author:
Mark Hale
See Also:
Serialized Form

Field Summary
 Atom[] atoms
          Atoms.
 
Constructor Summary
Molecule(Atom a, Atom b)
          Constructs a molecule.
Molecule(Molecule m, Atom a)
          Constructs a molecule.
 
Method Summary
 Molecule combine(Atom a)
          Combine with an atom.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

atoms

public Atom[] atoms
Atoms.

Constructor Detail

Molecule

public Molecule(Molecule m,
                Atom a)
Constructs a molecule.


Molecule

public Molecule(Atom a,
                Atom b)
Constructs a molecule.

Method Detail

combine

public Molecule combine(Atom a)
Combine with an atom.