org.crosswire.common.util

## Class EmptyIterator<E>

- java.lang.Object
- - org.crosswire.common.util.EmptyIterator<E>

- Type Parameters:
    `E` - The type of the element that this empty iterator will never return.
  All Implemented Interfaces:
    Iterator<E>

      public class EmptyIterator<E>
      extends Object
      implements Iterator<E>

  An `EmptyIterator` is an `Iterator` that iterates over nothing.
  Author:
    DM Smith
  See Also:
    `The GNU Lesser General Public License for details.`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EmptyIterator()` Construct an `EmptyIterator`.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `hasNext()`
    `E` | `next()`
    `void` | `remove()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### EmptyIterator

          public EmptyIterator()

      Construct an `EmptyIterator`.

  - ### Method Detail

    - #### remove

          public void remove()

      Specified by:
        `remove` in interface `Iterator<E>`

    - #### hasNext

          public boolean hasNext()

      Specified by:
        `hasNext` in interface `Iterator<E>`

    - #### next

          public E next()

      Specified by:
        `next` in interface `Iterator<E>`