Class IteratorFactory.RxnComponentIterator

java.lang.Object
chemaxon.struc.IteratorFactory.RxnComponentIterator
All Implemented Interfaces:
Iterator<Molecule>
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

    Constructors
    Constructor
    Description
    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 Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Decides whether the iteration has more element.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the next component in the iterator.
    void
    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, wait

    Methods 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.
      Specified by:
      hasNext in interface Iterator<Molecule>
      Returns:
      true if the iteration has more element, false otherwise.
    • next

      public Molecule next()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the next component in the iterator.
      Specified by:
      next in interface Iterator<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:
      remove in interface Iterator<Molecule>
      Throws:
      UnsupportedOperationException
      See Also: