Package org.dmfs.jems2.iterator
Class Mapped<OriginalType,ResultType>
java.lang.Object
org.dmfs.jems2.iterator.BaseIterator<ResultType>
org.dmfs.jems2.iterator.Mapped<OriginalType,ResultType>
- Type Parameters:
OriginalType- The original type of the values iterated by the decoratedIterator.ResultType- The type of the values iterated by thisIterator.
- All Implemented Interfaces:
Iterator<ResultType>
-
Constructor Summary
ConstructorsConstructorDescriptionMapped(Function<? super OriginalType, ? extends ResultType> mapFunction, Iterator<OriginalType> original) -
Method Summary
Methods inherited from class org.dmfs.jems2.iterator.BaseIterator
equals, hashCode, removeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
Mapped
public Mapped(Function<? super OriginalType, ? extends ResultType> mapFunction, Iterator<OriginalType> original)
-
-
Method Details
-
hasNext
public final boolean hasNext() -
next
-