Package org.apache.tools.ant.util
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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanDeprecated.Deprecated.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.EnumerationasIterator
- 
Constructor Details- 
EmptyEnumerationpublic EmptyEnumeration()Deprecated.
 
- 
- 
Method Details- 
hasMoreElementspublic boolean hasMoreElements()Deprecated.- Specified by:
- hasMoreElementsin interface- Enumeration<E>
- Returns:
- false always.
 
- 
nextElementDeprecated.- Specified by:
- nextElementin interface- Enumeration<E>
- Returns:
- nothing.
- Throws:
- NoSuchElementException- always.
 
 
-