org.jscience.chemistry
Class Polymer

java.lang.Object
  extended by org.jscience.chemistry.Polymer

public abstract class Polymer
extends java.lang.Object

The Polymer class represent molecules that are repeating many times.


Constructor Summary
Polymer(Molecule repeatingPart)
          Creates a new Polymer object.
 
Method Summary
abstract  Molecule getMolecule(int polymerisationDegree)
          DOCUMENT ME!
 Molecule getRepeatingPart()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Polymer

public Polymer(Molecule repeatingPart)
Creates a new Polymer object.

Parameters:
repeatingPart - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!
Method Detail

getRepeatingPart

public Molecule getRepeatingPart()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getMolecule

public abstract Molecule getMolecule(int polymerisationDegree)
DOCUMENT ME!

Parameters:
polymerisationDegree - DOCUMENT ME!
Returns:
DOCUMENT ME!