Class CollectionUtils.EmptyEnumeration<E>
java.lang.Object
org.apache.tools.ant.util.CollectionUtils.EmptyEnumeration<E>
- All Implemented Interfaces:
Enumeration<E>
- Enclosing class:
CollectionUtils
@Deprecated
public static final class CollectionUtils.EmptyEnumeration<E>
extends Object
implements Enumeration<E>
Deprecated.
An empty enumeration.
- Since:
- Ant 1.6
-
Constructor Details
-
EmptyEnumeration
public EmptyEnumeration()Deprecated.
-
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()Deprecated.- Specified by:
hasMoreElementsin interfaceEnumeration<E>- Returns:
- false always.
-
nextElement
Deprecated.- Specified by:
nextElementin interfaceEnumeration<E>- Returns:
- nothing.
- Throws:
NoSuchElementException- always.
-