public class IteratorFactory.RgComponentIterator extends Object implements Iterator<Molecule>
RgComponentIterator class provides an iterator to
process the rgroup definition components in the specified molecule of the
factory.| Constructor and Description |
|---|
IteratorFactory.RgComponentIterator()
Constructs an iterator to process the rgroup definition components,
if the specified molecule in the factory is an RgMolecule, the
iterator is empty otherwise.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Decides whether the iteration has more element.
|
Molecule |
next()
Returns the next component in the iteration.
|
Molecule |
nextComponent()
Deprecated.
As of Marvin 6.2, Use
next() instead. |
void |
remove()
The remove operation is not supported by this Iterator
implementation.
|
public IteratorFactory.RgComponentIterator()
public boolean hasNext()
@Deprecated public Molecule nextComponent()
next() instead.public Molecule next()
next in interface Iterator<Molecule>NoSuchElementExceptionpublic void remove()
remove in interface Iterator<Molecule>UnsupportedOperationExceptionIterator.remove()