Class IteratorFactory.RgComponentIterator

java.lang.Object
chemaxon.struc.IteratorFactory.RgComponentIterator
All Implemented Interfaces:
Iterator<Molecule>
Enclosing class:
IteratorFactory

@Deprecated(forRemoval=true) @SubjectToRemoval(date=JUL_01_2027) public class IteratorFactory.RgComponentIterator extends Object implements Iterator<Molecule>
Deprecated, for removal: This API element is subject to removal in a future version.
The RgComponentIterator class provides an iterator to process the rgroup definition components in the specified 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 rgroup definition components, if the specified molecule in the factory is an RgMolecule, 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 iteration.
    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

    • RgComponentIterator

      public RgComponentIterator()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructs an iterator to process the rgroup definition components, if the specified molecule in the factory is an RgMolecule, 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 iteration.
      Specified by:
      next in interface Iterator<Molecule>
      Returns:
      the next component in the iteration
      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: