Class EmptyIterator<ELEMENTTYPE>
- java.lang.Object
-
- com.helger.commons.collection.iterate.EmptyIterator<ELEMENTTYPE>
-
- Type Parameters:
ELEMENTTYPE- The pseudo element type to iterate
- All Implemented Interfaces:
Serializable,Iterator<ELEMENTTYPE>
@Immutable public class EmptyIterator<ELEMENTTYPE> extends Object implements Iterator<ELEMENTTYPE>, Serializable
Implementation of an empty enumerator.- Author:
- Philip Helger
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EmptyIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()booleanhasNext()ELEMENTTYPEnext()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceIterator<ELEMENTTYPE>
-
next
public ELEMENTTYPE next()
- Specified by:
nextin interfaceIterator<ELEMENTTYPE>
-
-