public class IteratorFactory.RgComponentIterator extends java.lang.Object implements java.util.Iterator<Molecule>
RgComponentIterator
class provides an iterator to
process the rgroup definition components in the specified molecule of the
factory.Constructor and Description |
---|
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 RgComponentIterator()
public boolean hasNext()
hasNext
in interface java.util.Iterator<Molecule>
@Deprecated public Molecule nextComponent()
next()
instead.public Molecule next()
next
in interface java.util.Iterator<Molecule>
java.util.NoSuchElementException
public void remove()
remove
in interface java.util.Iterator<Molecule>
java.lang.UnsupportedOperationException
Iterator.remove()