CollectionUtils.EmptyEnumeration (Apache Ant API)
Date: 2018-03-24

org.apache.tools.ant.util

## Class CollectionUtils.EmptyEnumeration<E>

- java.lang.Object
- - org.apache.tools.ant.util.CollectionUtils.EmptyEnumeration<E>

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

  Deprecated.

      @Deprecated
      public static final class CollectionUtils.EmptyEnumeration<E>
      extends java.lang.Object
      implements java.util.Enumeration<E>

  An empty enumeration.
  Since:
    Ant 1.6

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EmptyEnumeration()` Deprecated.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `hasMoreElements()` Deprecated.
    `E` | `nextElement()` Deprecated.

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

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

- - ### Constructor Detail

    - #### EmptyEnumeration

          public EmptyEnumeration()

      Deprecated.

  - ### Method Detail

    - #### hasMoreElements

          public boolean hasMoreElements()

      Deprecated.
      Specified by:
        `hasMoreElements` in interface `java.util.Enumeration<E>`
      Returns:
        false always.

    - #### nextElement

          public E nextElement()
                        throws java.util.NoSuchElementException

      Deprecated.
      Specified by:
        `nextElement` in interface `java.util.Enumeration<E>`
      Returns:
        nothing.
      Throws:
        `java.util.NoSuchElementException` - always.