Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`EmptyIterator()` Construct an `EmptyIterator`.

Method Summary
`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>`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Copyright ¨ 2003-2015
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD