Package 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
public static final class CollectionUtils.EmptyEnumeration<E>
extends java.lang.Object
implements java.util.Enumeration<E>
Deprecated.
An empty enumeration.
- Since:
- Ant 1.6
-
Constructor Summary
Constructors Constructor Description EmptyEnumeration()
Deprecated. -
Method Summary
Modifier and Type Method Description boolean
hasMoreElements()
Deprecated.E
nextElement()
Deprecated.
-
Constructor Details
-
EmptyEnumeration
public EmptyEnumeration()Deprecated.
-
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()Deprecated.- Specified by:
hasMoreElements
in interfacejava.util.Enumeration<E>
- Returns:
- false always.
-
nextElement
Deprecated.- Specified by:
nextElement
in interfacejava.util.Enumeration<E>
- Returns:
- nothing.
- Throws:
java.util.NoSuchElementException
- always.
-