_toScala
- Source
- _toScala.scala
Def
Convert to Array
Convert to Array
Returns stream elements as Array
val a : Array[Int] = (1 <> 10).stream.toArray
- Source
- _toScala.scala
Convert to List
Convert to List
Returns stream elements as scala.collection.immutable.List
- Source
- _toScala.scala
Convert to scala.Map
Convert to scala.Map
Note. This operation is only available for streams holding tuples, like (KEY,VALUE)
Converts a stream of tuples to scala.Map
- Source
- _toScala.scala
Convert to scala.Map
Convert to scala.Map
Converts stream to scala.Map, where key is created with provided function
- Source
- _toScala.scala
Convert to Seq
Convert to Seq
Returns stream elements as scala.collection.immutable.IndexedSeq
- Source
- _toScala.scala
Convert to Vector
Convert to Vector
Returns stream elements as scala.collection.immutable.Vector
- Source
- _toScala.scala