Class EmptyEnumeration<ELEMENTTYPE>
java.lang.Object
com.helger.commons.collection.iterate.EmptyEnumeration<ELEMENTTYPE>
- Type Parameters:
ELEMENTTYPE- The type to be contained in the operation.
- All Implemented Interfaces:
Enumeration<ELEMENTTYPE>
@Immutable
public class EmptyEnumeration<ELEMENTTYPE>
extends Object
implements Enumeration<ELEMENTTYPE>
Represents a fixed
Enumeration implementation that contains no
elements.- Author:
- Philip Helger
-
Constructor Details
-
EmptyEnumeration
public EmptyEnumeration()
-
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElementsin interfaceEnumeration<ELEMENTTYPE>
-
nextElement
- Specified by:
nextElementin interfaceEnumeration<ELEMENTTYPE>
-
equals
-
hashCode
public int hashCode() -
toString
-