Class CloseableSpliteratorMapper<E,​S>

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.util.Spliterator<S>, CloseableSpliterator<S>

    @Deprecated
    public class CloseableSpliteratorMapper<E,​S>
    extends SpliteratorMapper<E,​S>
    implements CloseableSpliterator<S>
    Deprecated.
    since 9.3 users can just use SpliteratorMapper as it handles CloseableSpliterators now
    A spliterator that maps each value to the output of the Function and is also closeable. If the underlying spliterator is closeable, it will also close it
    Since:
    9.0
    Author:
    wburns
    • Constructor Detail

      • CloseableSpliteratorMapper

        public CloseableSpliteratorMapper​(java.util.Spliterator<E> spliterator,
                                          java.util.function.Function<? super E,​? extends S> mapper)
        Deprecated.