|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JSci.physics.Particle JSci.chemistry.Molecule
public class Molecule
A class representing molecules.
Constructor Summary | |
---|---|
Molecule(Atom[] a)
Constructs a molecule from an array of atoms. |
|
Molecule(Atom a,
Atom b)
Constructs a molecule from two atoms. |
|
Molecule(java.lang.String formula)
Constructs a molecule from a chemical formula. |
Method Summary | |
---|---|
Molecule |
bind(Atom a)
Binds with an atom. |
Molecule |
bind(Molecule m)
Binds with a molecule. |
java.util.Set |
getAtoms()
Returns the atoms in this molecule. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Molecule(java.lang.String formula)
public Molecule(Atom a, Atom b)
public Molecule(Atom[] a)
Method Detail |
---|
public java.util.Set getAtoms()
public Molecule bind(Atom a)
public Molecule bind(Molecule m)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |