|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An iterator for an AtomCollection. The code fragment below illustrates
a typical use:
AtomCollection atoms = ...
AtomIterator it = atoms.iterateAtoms();
while (it.hasNext())
{
Atom atom = it.nextAtom();
}
| Method Summary | |
boolean |
hasNext()
Returns true if the iterator has another Atom. |
Atom |
nextAtom()
Returns the next Atom. |
| Method Detail |
public boolean hasNext()
true if the iterator has another Atom.
public Atom nextAtom()
Atom.
NoSuchElementException - if this iterator has no more elements
|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||