org.apache.tools.ant.util

Class CollectionUtils.EmptyEnumeration

Enclosing Class:
CollectionUtils
Implemented Interfaces:
Enumeration

public static final class CollectionUtils.EmptyEnumeration
extends java.lang.Object
implements Enumeration

An empty enumeration.
Since:
Ant 1.6

Constructor Summary

EmptyEnumeration()
Constructor for the EmptyEnumeration

Method Summary

boolean
hasMoreElements()
Object
nextElement()

Constructor Details

EmptyEnumeration

public EmptyEnumeration()
Constructor for the EmptyEnumeration

Method Details

hasMoreElements

public boolean hasMoreElements()
Returns:
false always.

nextElement

public Object nextElement()
            throws NoSuchElementException
Returns:
nothing.