Class IterableIteratorFromEnumeration<ELEMENTTYPE>
java.lang.Object
com.helger.commons.collection.iterate.IterableIteratorFromEnumeration<ELEMENTTYPE>
- Type Parameters:
ELEMENTTYPE- The element type to be enumerated.
- All Implemented Interfaces:
ICommonsIterable<ELEMENTTYPE>,IIterableIterator<ELEMENTTYPE>,Iterable<ELEMENTTYPE>,Iterator<ELEMENTTYPE>
public class IterableIteratorFromEnumeration<ELEMENTTYPE>
extends Object
implements IIterableIterator<ELEMENTTYPE>
Create an iterable iterator from an existing enumeration.
- Author:
- Philip Helger
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.helger.commons.collection.impl.ICommonsIterable
containsAny, containsNone, containsOnly, findAll, findAllInstanceOf, findAllMapped, findAllMapped, findAllMapped, findFirst, findFirst, findFirstIndex, findFirstMapped, findFirstMapped, findLastIndex, forEachBreakable, forEachByIndex, forEachThrowing, getCount, getCountMethods inherited from interface com.helger.commons.collection.iterate.IIterableIterator
iterator, withFilter, withMapperMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
IterableIteratorFromEnumeration
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<ELEMENTTYPE>
-
next
- Specified by:
nextin interfaceIterator<ELEMENTTYPE>
-
toString
-