public class MappingSpliterator<A,B>
extends java.lang.Object
implements java.util.Spliterator<B>
Constructor and Description |
---|
MappingSpliterator(java.util.Spliterator<A> underlying,
scala.Function1<A,B> mapping) |
Modifier and Type | Method and Description |
---|---|
int |
characteristics() |
long |
estimateSize() |
boolean |
tryAdvance(java.util.function.Consumer<? super B> f) |
java.util.Spliterator<B> |
trySplit() |
public int characteristics()
characteristics
in interface java.util.Spliterator<B>
public long estimateSize()
estimateSize
in interface java.util.Spliterator<B>
public boolean tryAdvance(java.util.function.Consumer<? super B> f)
tryAdvance
in interface java.util.Spliterator<B>