JOELib
Computational Chemistry Package

joelib.util.iterator
Class BondIterator

java.lang.Object
  extended byjoelib.util.iterator.VectorIterator
      extended byjoelib.util.iterator.BondIterator
All Implemented Interfaces:
Cloneable, Iterator

public class BondIterator
extends VectorIterator

Gets an iterator over all bonds in a molecule.

 BondIterator ait = mol.bondIterator();
 JOEBond bond;
 while (ait.hasNext())
 {
   bond = bit.nextBond();

 }
 

See Also:
VectorIterator, JOEMol.bondIterator()
Author:
Jörg Kurt Wegner (wegnerj at informatik.uni-tuebingen.de) at the Department of Cognitive Systems
CVS Version:
Revision: 1.9Date: 2004/07/25 20:43:29source code (CVS head)
License:
Licensed under the terms of the GNU General Public License (GPL).

Constructor Summary
BondIterator(Vector v)
          Constructor for the BondIterator object
 
Method Summary
 JOEBond nextBond()
          Description of the Method
 
Methods inherited from class joelib.util.iterator.VectorIterator
actual, actualIndex, clone, hasNext, insert, next, remove, reset, setActualIndex
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BondIterator

public BondIterator(Vector v)
Constructor for the BondIterator object

Parameters:
v - Description of the Parameter
Method Detail

nextBond

public JOEBond nextBond()
Description of the Method

Returns:
Description of the Return Value

JOELib
Computational Chemistry Package

Comments and Questions? mail to J.K.Wegner