Class MappingIterator<T,R>

java.lang.Object
com.github.basking2.sdsai.itrex.iterators.MappingIterator<T,R>
All Implemented Interfaces:
Iterator<R>

public class MappingIterator<T,R> extends Object implements Iterator<R>
An iterator that wraps another Iterator and maps its output values to values this returns. Any Exception thrown during the mapping results in a NoSuchElementException being thrown from this class's next() method.