Class CloseableIteratorMapper<E,​S>

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.util.Iterator<S>, CloseableIterator<S>

    @Deprecated
    public class CloseableIteratorMapper<E,​S>
    extends IteratorMapper<E,​S>
    implements CloseableIterator<S>
    Deprecated.
    since 9.3 users can just use IteratorMapper as it handles CloseableIterators now
    A iterator that maps each value to the output of the Function. Note that the remove is supported if the iterator originally supported remove.
    Since:
    8.0
    Author:
    William Burns
    • Constructor Detail

      • CloseableIteratorMapper

        public CloseableIteratorMapper​(java.util.Iterator<? extends E> iterator,
                                       java.util.function.Function<? super E,​? extends S> function)
        Deprecated.