astex
Class ResidueIterator

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

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

Iterate over the residues in a scene.


Constructor Summary
ResidueIterator(MoleculeRenderer moleculeRenderer)
          The only public constructor.
 
Method Summary
 Residue getNextResidue()
          Get the next residue.
 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

ResidueIterator

public ResidueIterator(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

getNextResidue

public Residue getNextResidue()
Get the next residue.