public class CloseableSpliteratorMapper<E,S> extends SpliteratorMapper<E,S> implements CloseableSpliterator<S>
Spliterator.OfDouble, Spliterator.OfInt, Spliterator.OfLong, Spliterator.OfPrimitive<T,T_CONS,T_SPLITR extends Spliterator.OfPrimitive<T,T_CONS,T_SPLITR>>
CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED
Constructor and Description |
---|
CloseableSpliteratorMapper(CloseableSpliterator<E> spliterator,
Function<? super E,? extends S> mapper) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
characteristics, estimateSize, forEachRemaining, getExactSizeIfKnown, hasCharacteristics, tryAdvance, trySplit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
characteristics, estimateSize, forEachRemaining, getComparator, getExactSizeIfKnown, hasCharacteristics, tryAdvance, trySplit
public CloseableSpliteratorMapper(CloseableSpliterator<E> spliterator, Function<? super E,? extends S> mapper)
public void close()
close
in interface AutoCloseable
close
in interface CloseableSpliterator<S>
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.