|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A BondingSystemIterator provides a mechanism to iterate over a
BondingSystemCollection. The code fragment below illustrates
a typical use:
BondingSystemCollection systems = ...
BondingSystemIterator it = systems.iterateBondingSystems();
while (it.hasNext())
{
BondingSystem system = it.nextBondingSystem();
}
| Method Summary | |
boolean |
hasNext()
Returns true if another BondingSystem is available for
iteration. |
BondingSystem |
nextBondingSystem()
Returns the next BondingSystem. |
| Method Detail |
public boolean hasNext()
true if another BondingSystem is available for
iteration.
true if another BondingSystem will be iterated;
false otherwisepublic BondingSystem nextBondingSystem()
BondingSystem. Returns null if no
BondingSystem can be iterated.
BondingSystem
NoSuchElementException - if this iterator has no more BondingSystems
|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||