|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.util.iterator.IteratorFactory.BondIterator
public class IteratorFactory.BondIterator
The BondIterator class provides an iterator to process
the bonds of the specified molecule in this factory
according to the bond related behavior of this factory.
| Field Summary | |
|---|---|
protected int |
currentBond
Current bond index pointer of the iterator. |
protected java.util.List<MolBond> |
secondaryBonds
Secondary bonds that replace a coordinate bond to the multicenter with coordinate bonds from the metal to the represented atoms (in the MulticenterSgroup of the multicenter). |
| Constructor Summary | |
|---|---|
IteratorFactory.BondIterator()
Constructs an iterator to process the bonds of the specified molecule in this factory according to the bond related behavior of this factory. |
|
| Method Summary | |
|---|---|
protected MolBond |
getBond(int index)
Returns a bond of a specified index. |
boolean |
hasNext()
Decides whether the iteration has more element. |
MolBond |
next()
Returns the next bond in the iteration. |
MolBond |
nextBond()
Deprecated. Use next() instead. |
void |
remove()
The remove operation is not supported by this Iterator implementation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int currentBond
protected java.util.List<MolBond> secondaryBonds
| Constructor Detail |
|---|
public IteratorFactory.BondIterator()
| Method Detail |
|---|
protected MolBond getBond(int index)
index - the specified index of the bond
public void remove()
remove in interface java.util.Iterator<MolBond>java.lang.UnsupportedOperationExceptionIterator.remove()public boolean hasNext()
hasNext in interface java.util.Iterator<MolBond>public MolBond nextBond()
next() instead.
public MolBond next()
next in interface java.util.Iterator<MolBond>java.util.NoSuchElementException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||