Package chemaxon.struc
Class IteratorFactory.RxnComponentIterator
java.lang.Object
chemaxon.struc.IteratorFactory.RxnComponentIterator
- Enclosing class:
IteratorFactory
@Deprecated(forRemoval=true)
@SubjectToRemoval(date=JUL_01_2027)
public class IteratorFactory.RxnComponentIterator
extends Object
implements Iterator<Molecule>
Deprecated, for removal: This API element is subject to removal in a future version.
The
RxnComponentIterator class provides an iterator to
process the components (reactant, product and agent components) in the
reaction molecule of the factory.-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Constructs an iterator to process the components (reactant, product and agent components), if the specified molecule in the factory is an RxnMolecule, the iterator is empty otherwise. -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasNext()Deprecated, for removal: This API element is subject to removal in a future version.Decides whether the iteration has more element.next()Deprecated, for removal: This API element is subject to removal in a future version.Returns the next component in the iterator.voidremove()Deprecated, for removal: This API element is subject to removal in a future version.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, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
RxnComponentIterator
public RxnComponentIterator()Deprecated, for removal: This API element is subject to removal in a future version.Constructs an iterator to process the components (reactant, product and agent components), if the specified molecule in the factory is an RxnMolecule, the iterator is empty otherwise.
-
-
Method Details
-
hasNext
public boolean hasNext()Deprecated, for removal: This API element is subject to removal in a future version.Decides whether the iteration has more element. -
next
Deprecated, for removal: This API element is subject to removal in a future version.Returns the next component in the iterator.- Specified by:
nextin interfaceIterator<Molecule>- Returns:
- the next component in the iterator
- Throws:
NoSuchElementException
-
remove
public void remove()Deprecated, for removal: This API element is subject to removal in a future version.The remove operation is not supported by this Iterator implementation.- Specified by:
removein interfaceIterator<Molecule>- Throws:
UnsupportedOperationException- See Also:
-