This object contains methods to create Java Streams that operate on Scala collections (sequentially or in parallel). For more information on Java streams, consult the documentation (https://docs.oracle.com/javase/8/docs/api/java/util/stream/package-summary.html).
The explicit conversion methods defined here are intended to be used in Java code. For Scala code, it is recommended to use the extension methods defined inscala.jdk.StreamConverters.
Note: to convert between Scala collections and classic Java collections, useCollectionConverters.
For details how the stream converters work, seescala.jdk.StreamConverters.
Create a parallelJava DoubleStream for a Scala collection.
Create a parallelJava DoubleStream for a Scala collection.
Note: parallel processing is only efficient for collections that have ascala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, thestepper method has a return type markedwith EfficientSplit.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a parallelJava DoubleStream for a Scala collection.
Create a parallelJava DoubleStream for a Scala collection.
Note: parallel processing is only efficient for collections that have ascala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, thestepper method has a return type markedwith EfficientSplit.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a parallelJava IntStream for a Scala collection.
Create a parallelJava IntStream for a Scala collection.
Note: parallel processing is only efficient for collections that have ascala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, thestepper method has a return type markedwith EfficientSplit.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a parallelJava IntStream for a Scala collection.
Create a parallelJava IntStream for a Scala collection.
Note: parallel processing is only efficient for collections that have ascala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, thestepper method has a return type markedwith EfficientSplit.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a parallelJava IntStream for a Scala collection.
Create a parallelJava IntStream for a Scala collection.
Note: parallel processing is only efficient for collections that have ascala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, thestepper method has a return type markedwith EfficientSplit.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a parallelJava IntStream for a Scala collection.
Create a parallelJava IntStream for a Scala collection.
Note: parallel processing is only efficient for collections that have ascala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, thestepper method has a return type markedwith EfficientSplit.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a parallelJava DoubleStream for the keys of a Scala Map.
Create a parallelJava DoubleStream for the keys of a Scala Map.
Note: parallel processing is only efficient for collections that have ascala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, thestepper method has a return type markedwith EfficientSplit.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a parallelJava DoubleStream for the keys of a Scala Map.
Create a parallelJava DoubleStream for the keys of a Scala Map.
Note: parallel processing is only efficient for collections that have ascala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, thestepper method has a return type markedwith EfficientSplit.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a parallelJava IntStream for the keys of a Scala Map.
Create a parallelJava IntStream for the keys of a Scala Map.
Note: parallel processing is only efficient for collections that have ascala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, thestepper method has a return type markedwith EfficientSplit.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a parallelJava IntStream for the keys of a Scala Map.
Create a parallelJava IntStream for the keys of a Scala Map.
Note: parallel processing is only efficient for collections that have ascala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, thestepper method has a return type markedwith EfficientSplit.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a parallelJava IntStream for the keys of a Scala Map.
Create a parallelJava IntStream for the keys of a Scala Map.
Note: parallel processing is only efficient for collections that have ascala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, thestepper method has a return type markedwith EfficientSplit.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a parallelJava IntStream for the keys of a Scala Map.
Create a parallelJava IntStream for the keys of a Scala Map.
Note: parallel processing is only efficient for collections that have ascala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, thestepper method has a return type markedwith EfficientSplit.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a parallelJava LongStream for the keys of a Scala Map.
Create a parallelJava LongStream for the keys of a Scala Map.
Note: parallel processing is only efficient for collections that have ascala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, thestepper method has a return type markedwith EfficientSplit.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a parallelJava Stream for the keys of a Scala Map.
Create a parallelJava Stream for the keys of a Scala Map.
Note: parallel processing is only efficient for collections that have ascala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, thestepper method has a return type markedwith EfficientSplit.
Create a parallelJava LongStream for a Scala collection.
Create a parallelJava LongStream for a Scala collection.
Note: parallel processing is only efficient for collections that have ascala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, thestepper method has a return type markedwith EfficientSplit.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a parallelJava Stream for a Scala collection.
Create a parallelJava Stream for a Scala collection.
Note: parallel processing is only efficient for collections that have ascala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, thestepper method has a return type markedwith EfficientSplit.
Create a parallelJava DoubleStream for the values of a Scala Map.
Create a parallelJava DoubleStream for the values of a Scala Map.
Note: parallel processing is only efficient for collections that have ascala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, thestepper method has a return type markedwith EfficientSplit.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a parallelJava DoubleStream for the values of a Scala Map.
Create a parallelJava DoubleStream for the values of a Scala Map.
Note: parallel processing is only efficient for collections that have ascala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, thestepper method has a return type markedwith EfficientSplit.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a parallelJava IntStream for the values of a Scala Map.
Create a parallelJava IntStream for the values of a Scala Map.
Note: parallel processing is only efficient for collections that have ascala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, thestepper method has a return type markedwith EfficientSplit.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a parallelJava IntStream for the values of a Scala Map.
Create a parallelJava IntStream for the values of a Scala Map.
Note: parallel processing is only efficient for collections that have ascala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, thestepper method has a return type markedwith EfficientSplit.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a parallelJava IntStream for the values of a Scala Map.
Create a parallelJava IntStream for the values of a Scala Map.
Note: parallel processing is only efficient for collections that have ascala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, thestepper method has a return type markedwith EfficientSplit.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a parallelJava IntStream for the values of a Scala Map.
Create a parallelJava IntStream for the values of a Scala Map.
Note: parallel processing is only efficient for collections that have ascala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, thestepper method has a return type markedwith EfficientSplit.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a parallelJava LongStream for the values of a Scala Map.
Create a parallelJava LongStream for the values of a Scala Map.
Note: parallel processing is only efficient for collections that have ascala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, thestepper method has a return type markedwith EfficientSplit.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a parallelJava Stream for the values of a Scala Map.
Create a parallelJava Stream for the values of a Scala Map.
Note: parallel processing is only efficient for collections that have ascala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, thestepper method has a return type markedwith EfficientSplit.
Create a sequentialJava DoubleStream for a Scala collection.
Create a sequentialJava DoubleStream for a Scala collection.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a sequentialJava DoubleStream for a Scala collection.
Create a sequentialJava DoubleStream for a Scala collection.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a sequentialJava IntStream for a Scala collection.
Create a sequentialJava IntStream for a Scala collection.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a sequentialJava IntStream for a Scala collection.
Create a sequentialJava IntStream for a Scala collection.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a sequentialJava IntStream for a Scala collection.
Create a sequentialJava IntStream for a Scala collection.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a sequentialJava IntStream for a Scala collection.
Create a sequentialJava IntStream for a Scala collection.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a sequentialJava DoubleStream for the keys of a Scala Map.
Create a sequentialJava DoubleStream for the keys of a Scala Map.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a sequentialJava DoubleStream for the keys of a Scala Map.
Create a sequentialJava DoubleStream for the keys of a Scala Map.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a sequentialJava IntStream for the keys of a Scala Map.
Create a sequentialJava IntStream for the keys of a Scala Map.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a sequentialJava IntStream for the keys of a Scala Map.
Create a sequentialJava IntStream for the keys of a Scala Map.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a sequentialJava IntStream for the keys of a Scala Map.
Create a sequentialJava IntStream for the keys of a Scala Map.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a sequentialJava IntStream for the keys of a Scala Map.
Create a sequentialJava IntStream for the keys of a Scala Map.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a sequentialJava LongStream for the keys of a Scala Map.
Create a sequentialJava LongStream for the keys of a Scala Map.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a sequentialJava Stream for the keys of a Scala Map.
Create a sequentialJava LongStream for a Scala collection.
Create a sequentialJava LongStream for a Scala collection.
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a sequentialJava Stream for a Scala collection.
Create a sequentialJava DoubleStream for the values of a
Create a sequentialJava DoubleStream for the values of a
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a sequentialJava DoubleStream for the values of a
Create a sequentialJava DoubleStream for the values of a
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a sequentialJava IntStream for the values of a
Create a sequentialJava IntStream for the values of a
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a sequentialJava IntStream for the values of a
Create a sequentialJava IntStream for the values of a
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a sequentialJava IntStream for the values of a
Create a sequentialJava IntStream for the values of a
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a sequentialJava IntStream for the values of a
Create a sequentialJava IntStream for the values of a
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a sequentialJava LongStream for the values of a
Create a sequentialJava LongStream for the values of a
Note: this method uses the boxed typejava.lang.X instead of the primitive typescala.X to improve compatibility when using it in Java code (the Scala compiler emitsC[Int] asC[Object] in bytecode due toscala/bug#4214). In Scala code, addimport scala.jdk.StreamConverters._ and use the extension methods instead.
Create a sequentialJava Stream for the values of a Scala Map.
Create a sequentialJava Stream for the values of a Scala Map.