org.xmlcml.tools
Class SubstituentListImpl

java.lang.Object
  |
  +--org.xmlcml.tools.SubstituentListImpl

public class SubstituentListImpl
extends java.lang.Object
implements SubstituentList

a list of substituents (Chains, RingNucleus)- usually on an Atom in a Ring(Nucleus)


Field Summary
protected  java.util.Hashtable chainTable
           
protected  java.util.Hashtable rnTable
           
 
Constructor Summary
SubstituentListImpl()
           
 
Method Summary
 void addChainSet(ChainSet chain)
           
 void addRingNucleus(RingNucleus rn)
           
 java.util.Hashtable getChainTable()
          returns Hashtable of Chains.
 java.util.Hashtable getRingNucleusTable()
          returns Hashtable of RingNucleus.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rnTable

protected java.util.Hashtable rnTable

chainTable

protected java.util.Hashtable chainTable
Constructor Detail

SubstituentListImpl

public SubstituentListImpl()
Method Detail

addRingNucleus

public void addRingNucleus(RingNucleus rn)
Specified by:
addRingNucleus in interface SubstituentList

addChainSet

public void addChainSet(ChainSet chain)
Specified by:
addChainSet in interface SubstituentList

getRingNucleusTable

public java.util.Hashtable getRingNucleusTable()
returns Hashtable of RingNucleus. For a Ring(Nucleus) this can denote spiro for a Chain denotes Ring(Nucleus) substituent
Specified by:
getRingNucleusTable in interface SubstituentList

getChainTable

public java.util.Hashtable getChainTable()
returns Hashtable of Chains. Normally only found for Atoms in RingNucleus
Specified by:
getChainTable in interface SubstituentList