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 fixedEnumerationimplementation that contains no elements.- Author:
- Philip Helger
-
-
Constructor Summary
Constructors Constructor Description EmptyEnumeration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()booleanhasMoreElements()ELEMENTTYPEnextElement()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Enumeration
asIterator
-
-
-
-
Method Detail
-
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElementsin interfaceEnumeration<ELEMENTTYPE>
-
nextElement
public ELEMENTTYPE nextElement()
- Specified by:
nextElementin interfaceEnumeration<ELEMENTTYPE>
-
-