Package: groovy.util

## [Java] Class ObservableSet.ObservableIterator<E>

- groovy.util.ObservableSet.ObservableIterator

- All Implemented Interfaces and Traits:
    Iterator

      protected class ObservableSet.ObservableIterator<E>
      extends Object
      implements Iterator

  Iterator wrapper that reports removals as observable set events.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `ObservableIterator(Iterator<E> iterDelegate)` Creates an observable iterator around the supplied delegate.

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public Iterator<E>` | `getDelegate()` Returns the wrapped iterator.
    `` | `public boolean` | `hasNext()` {@inheritDoc}
    `` | `public E` | `next()` {@inheritDoc}
    `` | `public void` | `remove()` {@inheritDoc}

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### public ObservableIterator(Iterator<E> iterDelegate)

      Creates an observable iterator around the supplied delegate.

      Parameters:
        `iterDelegate` - the backing iterator

  - ### Method Detail

    - #### public Iterator<E> getDelegate()

      Returns the wrapped iterator.

      Returns:
        the backing iterator

    - #### public boolean hasNext()

      {@inheritDoc}

    - #### public E next()

      {@inheritDoc}

    - #### public void remove()

      {@inheritDoc}