StreamConverters
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/en/java/javase/17/docs/api/java.base/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 in scala.jdk.StreamConverters.
Note: to convert between Scala collections and classic Java collections, use CollectionConverters.
For details how the stream converters work, see scala.jdk.StreamConverters.
Attributes
- Source
- StreamConverters.scala
- Graph
-
- Supertypes
- Self type
-
StreamConverters.type
Members list
Value members
Concrete methods
Creates a parallel Java DoubleStream for a Scala collection.
Creates a parallel Java DoubleStream for a Scala collection.
Note: parallel processing is only efficient for collections that have a scala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, the `stepper` method has a return type marked with EfficientSplit.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Value parameters
- cc
-
the Scala collection of doubles to convert
Attributes
- Returns
-
a parallel
DoubleStreamfor the collection - Source
- StreamConverters.scala
Creates a parallel Java DoubleStream for a Scala collection.
Creates a parallel Java DoubleStream for a Scala collection.
Note: parallel processing is only efficient for collections that have a scala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, the `stepper` method has a return type marked with EfficientSplit.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Value parameters
- cc
-
the Scala collection of floats to convert
Attributes
- Returns
-
a parallel
DoubleStreamfor the collection - Source
- StreamConverters.scala
Creates a parallel Java IntStream for a Scala collection.
Creates a parallel Java IntStream for a Scala collection.
Note: parallel processing is only efficient for collections that have a scala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, the `stepper` method has a return type marked with EfficientSplit.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Value parameters
- cc
-
the Scala collection of integers to convert
Attributes
- Returns
-
a parallel
IntStreamfor the collection - Source
- StreamConverters.scala
Creates a parallel Java IntStream for a Scala collection.
Creates a parallel Java IntStream for a Scala collection.
Note: parallel processing is only efficient for collections that have a scala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, the `stepper` method has a return type marked with EfficientSplit.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Value parameters
- cc
-
the Scala collection of bytes to convert
Attributes
- Returns
-
a parallel
IntStreamfor the collection - Source
- StreamConverters.scala
Creates a parallel Java IntStream for a Scala collection.
Creates a parallel Java IntStream for a Scala collection.
Note: parallel processing is only efficient for collections that have a scala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, the `stepper` method has a return type marked with EfficientSplit.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Value parameters
- cc
-
the Scala collection of characters to convert
Attributes
- Returns
-
a parallel
IntStreamfor the collection - Source
- StreamConverters.scala
Creates a parallel Java IntStream for a Scala collection.
Creates a parallel Java IntStream for a Scala collection.
Note: parallel processing is only efficient for collections that have a scala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, the `stepper` method has a return type marked with EfficientSplit.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Value parameters
- cc
-
the Scala collection of shorts to convert
Attributes
- Returns
-
a parallel
IntStreamfor the collection - Source
- StreamConverters.scala
Creates a parallel Java DoubleStream for the keys of a Scala Map.
Creates a parallel Java DoubleStream for the keys of a Scala Map.
Note: parallel processing is only efficient for collections that have a scala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, the `stepper` method has a return type marked with EfficientSplit.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- V
-
the value type of the map
Value parameters
- m
-
the Scala Map whose keys to stream over
Attributes
- Returns
-
a parallel
DoubleStreamfor the map's keys - Source
- StreamConverters.scala
Creates a parallel Java DoubleStream for the keys of a Scala Map.
Creates a parallel Java DoubleStream for the keys of a Scala Map.
Note: parallel processing is only efficient for collections that have a scala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, the `stepper` method has a return type marked with EfficientSplit.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- V
-
the value type of the map
Value parameters
- m
-
the Scala Map whose keys to stream over
Attributes
- Returns
-
a parallel
DoubleStreamfor the map's keys - Source
- StreamConverters.scala
Creates a parallel Java IntStream for the keys of a Scala Map.
Creates a parallel Java IntStream for the keys of a Scala Map.
Note: parallel processing is only efficient for collections that have a scala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, the `stepper` method has a return type marked with EfficientSplit.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- V
-
the value type of the map
Value parameters
- m
-
the Scala Map whose keys to stream over
Attributes
- Returns
-
a parallel
IntStreamfor the map's keys - Source
- StreamConverters.scala
Creates a parallel Java IntStream for the keys of a Scala Map.
Creates a parallel Java IntStream for the keys of a Scala Map.
Note: parallel processing is only efficient for collections that have a scala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, the `stepper` method has a return type marked with EfficientSplit.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- V
-
the value type of the map
Value parameters
- m
-
the Scala Map whose keys to stream over
Attributes
- Returns
-
a parallel
IntStreamfor the map's keys - Source
- StreamConverters.scala
Creates a parallel Java IntStream for the keys of a Scala Map.
Creates a parallel Java IntStream for the keys of a Scala Map.
Note: parallel processing is only efficient for collections that have a scala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, the `stepper` method has a return type marked with EfficientSplit.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- V
-
the value type of the map
Value parameters
- m
-
the Scala Map whose keys to stream over
Attributes
- Returns
-
a parallel
IntStreamfor the map's keys - Source
- StreamConverters.scala
Creates a parallel Java IntStream for the keys of a Scala Map.
Creates a parallel Java IntStream for the keys of a Scala Map.
Note: parallel processing is only efficient for collections that have a scala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, the `stepper` method has a return type marked with EfficientSplit.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- V
-
the value type of the map
Value parameters
- m
-
the Scala Map whose keys to stream over
Attributes
- Returns
-
a parallel
IntStreamfor the map's keys - Source
- StreamConverters.scala
Creates a parallel Java LongStream for the keys of a Scala Map.
Creates a parallel Java LongStream for the keys of a Scala Map.
Note: parallel processing is only efficient for collections that have a scala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, the `stepper` method has a return type marked with EfficientSplit.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- V
-
the value type of the map
Value parameters
- m
-
the Scala Map whose keys to stream over
Attributes
- Returns
-
a parallel
LongStreamfor the map's keys - Source
- StreamConverters.scala
Creates a parallel Java Stream for the keys of a Scala Map.
Creates a parallel Java Stream for the keys of a Scala Map.
Note: parallel processing is only efficient for collections that have a scala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, the `stepper` method has a return type marked with EfficientSplit.
Type parameters
- K
-
the key type of the map
- V
-
the value type of the map
Value parameters
- m
-
the Scala Map whose keys to stream over
Attributes
- Returns
-
a parallel
Streamfor the map's keys - Source
- StreamConverters.scala
Creates a parallel Java LongStream for a Scala collection.
Creates a parallel Java LongStream for a Scala collection.
Note: parallel processing is only efficient for collections that have a scala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, the `stepper` method has a return type marked with EfficientSplit.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Value parameters
- cc
-
the Scala collection of longs to convert
Attributes
- Returns
-
a parallel
LongStreamfor the collection - Source
- StreamConverters.scala
Creates a parallel Java Stream for a Scala collection.
Creates a parallel Java Stream for a Scala collection.
Note: parallel processing is only efficient for collections that have a scala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, the `stepper` method has a return type marked with EfficientSplit.
Type parameters
- A
-
the element type of the collection
Value parameters
- cc
-
the Scala collection to convert to a parallel Java Stream
Attributes
- Returns
-
a parallel
Streamfor the collection - Source
- StreamConverters.scala
Creates a parallel Java DoubleStream for the values of a Scala Map.
Creates a parallel Java DoubleStream for the values of a Scala Map.
Note: parallel processing is only efficient for collections that have a scala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, the `stepper` method has a return type marked with EfficientSplit.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- K
-
the key type of the map
Value parameters
- m
-
the Scala Map whose values to stream over
Attributes
- Returns
-
a parallel
DoubleStreamfor the map's values - Source
- StreamConverters.scala
Creates a parallel Java DoubleStream for the values of a Scala Map.
Creates a parallel Java DoubleStream for the values of a Scala Map.
Note: parallel processing is only efficient for collections that have a scala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, the `stepper` method has a return type marked with EfficientSplit.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- K
-
the key type of the map
Value parameters
- m
-
the Scala Map whose values to stream over
Attributes
- Returns
-
a parallel
DoubleStreamfor the map's values - Source
- StreamConverters.scala
Creates a parallel Java IntStream for the values of a Scala Map.
Creates a parallel Java IntStream for the values of a Scala Map.
Note: parallel processing is only efficient for collections that have a scala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, the `stepper` method has a return type marked with EfficientSplit.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- K
-
the key type of the map
Value parameters
- m
-
the Scala Map whose values to stream over
Attributes
- Returns
-
a parallel
IntStreamfor the map's values - Source
- StreamConverters.scala
Creates a parallel Java IntStream for the values of a Scala Map.
Creates a parallel Java IntStream for the values of a Scala Map.
Note: parallel processing is only efficient for collections that have a scala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, the `stepper` method has a return type marked with EfficientSplit.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- K
-
the key type of the map
Value parameters
- m
-
the Scala Map whose values to stream over
Attributes
- Returns
-
a parallel
IntStreamfor the map's values - Source
- StreamConverters.scala
Creates a parallel Java IntStream for the values of a Scala Map.
Creates a parallel Java IntStream for the values of a Scala Map.
Note: parallel processing is only efficient for collections that have a scala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, the `stepper` method has a return type marked with EfficientSplit.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- K
-
the key type of the map
Value parameters
- m
-
the Scala Map whose values to stream over
Attributes
- Returns
-
a parallel
IntStreamfor the map's values - Source
- StreamConverters.scala
Creates a parallel Java IntStream for the values of a Scala Map.
Creates a parallel Java IntStream for the values of a Scala Map.
Note: parallel processing is only efficient for collections that have a scala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, the `stepper` method has a return type marked with EfficientSplit.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- K
-
the key type of the map
Value parameters
- m
-
the Scala Map whose values to stream over
Attributes
- Returns
-
a parallel
IntStreamfor the map's values - Source
- StreamConverters.scala
Creates a parallel Java LongStream for the values of a Scala Map.
Creates a parallel Java LongStream for the values of a Scala Map.
Note: parallel processing is only efficient for collections that have a scala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, the `stepper` method has a return type marked with EfficientSplit.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- K
-
the key type of the map
Value parameters
- m
-
the Scala Map whose values to stream over
Attributes
- Returns
-
a parallel
LongStreamfor the map's values - Source
- StreamConverters.scala
Creates a parallel Java Stream for the values of a Scala Map.
Creates a parallel Java Stream for the values of a Scala Map.
Note: parallel processing is only efficient for collections that have a scala.collection.Stepper implementation which supports efficient splitting. For collections where this is the case, the `stepper` method has a return type marked with EfficientSplit.
Type parameters
- K
-
the key type of the map
- V
-
the value type of the map
Value parameters
- m
-
the Scala Map whose values to stream over
Attributes
- Returns
-
a parallel
Streamfor the map's values - Source
- StreamConverters.scala
Creates a sequential Java DoubleStream for a Scala collection.
Creates a sequential Java DoubleStream for a Scala collection.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Value parameters
- cc
-
the Scala collection of doubles to convert
Attributes
- Returns
-
a sequential
DoubleStreamfor the collection - Source
- StreamConverters.scala
Creates a sequential Java DoubleStream for a Scala collection.
Creates a sequential Java DoubleStream for a Scala collection.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Value parameters
- cc
-
the Scala collection of floats to convert
Attributes
- Returns
-
a sequential
DoubleStreamfor the collection - Source
- StreamConverters.scala
Creates a sequential Java IntStream for a Scala collection.
Creates a sequential Java IntStream for a Scala collection.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Value parameters
- cc
-
the Scala collection of integers to convert
Attributes
- Returns
-
a sequential
IntStreamfor the collection - Source
- StreamConverters.scala
Creates a sequential Java IntStream for a Scala collection.
Creates a sequential Java IntStream for a Scala collection.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Value parameters
- cc
-
the Scala collection of bytes to convert
Attributes
- Returns
-
a sequential
IntStreamfor the collection - Source
- StreamConverters.scala
Creates a sequential Java IntStream for a Scala collection.
Creates a sequential Java IntStream for a Scala collection.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Value parameters
- cc
-
the Scala collection of characters to convert
Attributes
- Returns
-
a sequential
IntStreamfor the collection - Source
- StreamConverters.scala
Creates a sequential Java IntStream for a Scala collection.
Creates a sequential Java IntStream for a Scala collection.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Value parameters
- cc
-
the Scala collection of shorts to convert
Attributes
- Returns
-
a sequential
IntStreamfor the collection - Source
- StreamConverters.scala
Creates a sequential Java DoubleStream for the keys of a Scala Map.
Creates a sequential Java DoubleStream for the keys of a Scala Map.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- V
-
the value type of the map
Value parameters
- m
-
the Scala Map whose keys to stream over
Attributes
- Returns
-
a sequential
DoubleStreamfor the map's keys - Source
- StreamConverters.scala
Creates a sequential Java DoubleStream for the keys of a Scala Map.
Creates a sequential Java DoubleStream for the keys of a Scala Map.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- V
-
the value type of the map
Value parameters
- m
-
the Scala Map whose keys to stream over
Attributes
- Returns
-
a sequential
DoubleStreamfor the map's keys - Source
- StreamConverters.scala
Creates a sequential Java IntStream for the keys of a Scala Map.
Creates a sequential Java IntStream for the keys of a Scala Map.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- V
-
the value type of the map
Value parameters
- m
-
the Scala Map whose keys to stream over
Attributes
- Returns
-
a sequential
IntStreamfor the map's keys - Source
- StreamConverters.scala
Creates a sequential Java IntStream for the keys of a Scala Map.
Creates a sequential Java IntStream for the keys of a Scala Map.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- V
-
the value type of the map
Value parameters
- m
-
the Scala Map whose keys to stream over
Attributes
- Returns
-
a sequential
IntStreamfor the map's keys - Source
- StreamConverters.scala
Creates a sequential Java IntStream for the keys of a Scala Map.
Creates a sequential Java IntStream for the keys of a Scala Map.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- V
-
the value type of the map
Value parameters
- m
-
the Scala Map whose keys to stream over
Attributes
- Returns
-
a sequential
IntStreamfor the map's keys - Source
- StreamConverters.scala
Creates a sequential Java IntStream for the keys of a Scala Map.
Creates a sequential Java IntStream for the keys of a Scala Map.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- V
-
the value type of the map
Value parameters
- m
-
the Scala Map whose keys to stream over
Attributes
- Returns
-
a sequential
IntStreamfor the map's keys - Source
- StreamConverters.scala
Creates a sequential Java LongStream for the keys of a Scala Map.
Creates a sequential Java LongStream for the keys of a Scala Map.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- V
-
the value type of the map
Value parameters
- m
-
the Scala Map whose keys to stream over
Attributes
- Returns
-
a sequential
LongStreamfor the map's keys - Source
- StreamConverters.scala
Creates a sequential Java Stream for the keys of a Scala Map.
Creates a sequential Java Stream for the keys of a Scala Map.
Type parameters
- K
-
the key type of the map
- V
-
the value type of the map
Value parameters
- m
-
the Scala Map whose keys to stream over
Attributes
- Returns
-
a sequential
Streamfor the map's keys - Source
- StreamConverters.scala
Creates a sequential Java LongStream for a Scala collection.
Creates a sequential Java LongStream for a Scala collection.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Value parameters
- cc
-
the Scala collection of longs to convert
Attributes
- Returns
-
a sequential
LongStreamfor the collection - Source
- StreamConverters.scala
Creates a sequential Java Stream for a Scala collection.
Creates a sequential Java Stream for a Scala collection.
Type parameters
- A
-
the element type of the collection
Value parameters
- cc
-
the Scala collection to convert to a Java Stream
Attributes
- Returns
-
a sequential
Streamfor the collection - Source
- StreamConverters.scala
Creates a sequential Java DoubleStream for the values of a Scala Map.
Creates a sequential Java DoubleStream for the values of a Scala Map.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- K
-
the key type of the map
Value parameters
- m
-
the Scala Map whose values to stream over
Attributes
- Returns
-
a sequential
DoubleStreamfor the map's values - Source
- StreamConverters.scala
Creates a sequential Java DoubleStream for the values of a Scala Map.
Creates a sequential Java DoubleStream for the values of a Scala Map.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- K
-
the key type of the map
Value parameters
- m
-
the Scala Map whose values to stream over
Attributes
- Returns
-
a sequential
DoubleStreamfor the map's values - Source
- StreamConverters.scala
Creates a sequential Java IntStream for the values of a Scala Map.
Creates a sequential Java IntStream for the values of a Scala Map.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- K
-
the key type of the map
Value parameters
- m
-
the Scala Map whose values to stream over
Attributes
- Returns
-
a sequential
IntStreamfor the map's values - Source
- StreamConverters.scala
Creates a sequential Java IntStream for the values of a Scala Map.
Creates a sequential Java IntStream for the values of a Scala Map.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- K
-
the key type of the map
Value parameters
- m
-
the Scala Map whose values to stream over
Attributes
- Returns
-
a sequential
IntStreamfor the map's values - Source
- StreamConverters.scala
Creates a sequential Java IntStream for the values of a Scala Map.
Creates a sequential Java IntStream for the values of a Scala Map.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- K
-
the key type of the map
Value parameters
- m
-
the Scala Map whose values to stream over
Attributes
- Returns
-
a sequential
IntStreamfor the map's values - Source
- StreamConverters.scala
Creates a sequential Java IntStream for the values of a Scala Map.
Creates a sequential Java IntStream for the values of a Scala Map.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- K
-
the key type of the map
Value parameters
- m
-
the Scala Map whose values to stream over
Attributes
- Returns
-
a sequential
IntStreamfor the map's values - Source
- StreamConverters.scala
Creates a sequential Java LongStream for the values of a Scala Map.
Creates a sequential Java LongStream for the values of a Scala Map.
Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.StreamConverters._ and use the extension methods instead.
Type parameters
- K
-
the key type of the map
Value parameters
- m
-
the Scala Map whose values to stream over
Attributes
- Returns
-
a sequential
LongStreamfor the map's values - Source
- StreamConverters.scala
Creates a sequential Java Stream for the values of a Scala Map.
Creates a sequential Java Stream for the values of a Scala Map.
Type parameters
- K
-
the key type of the map
- V
-
the value type of the map
Value parameters
- m
-
the Scala Map whose values to stream over
Attributes
- Returns
-
a sequential
Streamfor the map's values - Source
- StreamConverters.scala