|
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 AtomPairIterator provides a mechanism to iterate over an
AtomPairCollection. Typical usage is illustrated in the following
code fragment:
AtomPairCollection pairs = ...
AtomPairIterator it = pairs.iterateAtomPairs();
while (it.hasNext())
{
AtomPair pair = it.nextAtomPair();
}
| Method Summary | |
boolean |
hasNext()
Returns true if another AtomPair is available for
iteration. |
AtomPair |
nextAtomPair()
Returns the next AtomPair. |
| Method Detail |
public boolean hasNext()
true if another AtomPair is available for
iteration.
true if another Atom will be iterated;
false otherwisepublic AtomPair nextAtomPair()
AtomPair. Returns null if no
AtomPair can be iterated.
AtomPair.
NoSuchElementException - if this iterator has no more AtomPairs
|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||