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>>mapper, spliteratorCONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED| Constructor and Description |
|---|
CloseableSpliteratorMapper(Spliterator<E> spliterator,
Function<? super E,? extends S> mapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Spliterator<S> |
trySplit() |
characteristics, estimateSize, forEachRemaining, getExactSizeIfKnown, hasCharacteristics, tryAdvanceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharacteristics, estimateSize, forEachRemaining, getComparator, getExactSizeIfKnown, hasCharacteristics, tryAdvancepublic CloseableSpliteratorMapper(Spliterator<E> spliterator, Function<? super E,? extends S> mapper)
public Spliterator<S> trySplit()
trySplit in interface Spliterator<S>trySplit in class SpliteratorMapper<E,S>public void close()
close in interface AutoCloseableclose in interface CloseableSpliterator<S>Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.