de.esprit.common.util

## Class Enumerator<E>

- java.lang.Object
- - de.esprit.common.util.Enumerator<E>

- All Implemented Interfaces:
    java.util.Enumeration<E>

      public class Enumerator<E>
      extends java.lang.Object
      implements java.util.Enumeration<E>

  This class allows to enumerate over an Object array
  Author:
    Rainer Buesch

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Enumerator(E[] array)`
    `Enumerator(java.util.List<E> list)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `hasMoreElements()`
    `E` | `nextElement()`

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

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

- - ### Constructor Detail

    - #### Enumerator

          public Enumerator(E[] array)

    - #### Enumerator

          public Enumerator(java.util.List<E> list)

  - ### Method Detail

    - #### hasMoreElements

          public boolean hasMoreElements()

      Specified by:
        `hasMoreElements` in interface `java.util.Enumeration<E>`

    - #### nextElement

          public E nextElement()

      Specified by:
        `nextElement` in interface `java.util.Enumeration<E>`

Copyright © 2014 EsprIT-Systems. All Rights Reserved.