Class MappingIterator<T,Z>

java.lang.Object
org.evrete.util.MappingIterator<T,Z>
All Implemented Interfaces:
Iterator<Z>

public class MappingIterator<T,Z> extends Object implements Iterator<Z>
The MappingReIterator class implements the Iterator interface and maps values using the provided functional interface.
  • Constructor Details

    • MappingIterator

      public MappingIterator(Iterator<T> delegate, Function<? super T,Z> mapper)
  • Method Details