astex
Class BondIterator

java.lang.Object
  extended by astex.BondIterator
All Implemented Interfaces:
java.util.Enumeration

public class BondIterator
extends java.lang.Object
implements java.util.Enumeration


Constructor Summary
BondIterator(MoleculeRenderer moleculeRenderer)
          The only public constructor.
 
Method Summary
 Bond getNextBond()
          Get the next bond.
 boolean hasMoreElements()
          Do we have more elements.
 java.lang.Object nextElement()
          Get the next element.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BondIterator

public BondIterator(MoleculeRenderer moleculeRenderer)
The only public constructor.

Method Detail

hasMoreElements

public boolean hasMoreElements()
Do we have more elements.

Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
Get the next element.

Specified by:
nextElement in interface java.util.Enumeration

getNextBond

public Bond getNextBond()
Get the next bond.