p
scalqa

Stream

package Stream

There are many ways to create Stream besides make constructors

val sf: ~[Float] = ~~(1, 2, 3)       // Vararg constructor ~~.apply
sf lp                                // Prints: ~(1.0, 2.0, 3.0)

val si: ~[Int] = 4 ~+ 5 + 6 + 7 + 8  // Create with '~+' operator and append
si lp                                // Prints: ~(4, 5, 6, 7, 8)

val sd = ~~[Double] + 12 + 10L + 1D   // Void stream and append
sd lp                                // Prints: ~(12.0, 10.0, 1.0)

val sc: ~[Char] = 'A' to 'D'         // From Range, which can implicitly convert to Stream
sc lp                                // Prints: ~(A, B, C, D)

val v1 = ~~[Int]                      // Void stream with explicit type
v1 lp                                // Prints: ~()

val v2: ~[Int] = \/                  // Void stream with context type
v2 lp                                // Prints: ~()
Ordering
  1. Alphabetic
Inherited
  1. Stream
  2. scala.AnyRef
  3. scala.Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Custom Function

  1. type Consumer[-A] = Consumer[A]

    Function alias

    Function alias

    Alias to type and object Stream.Interface.Function.Consumer

    Definition Classes
    Stream
  2. type Filter[-A] = Filter[A]

    Function alias

    Function alias

    Alias to type and object Stream.Interface.Function.Filter

    Definition Classes
    Stream
  3. type Folding[A] = Folding[A]

    Function alias

    Function alias

    Alias to type and object Stream.Interface.Function.Folding

    Definition Classes
    Stream
  4. type Mapping[-A, +B] = Mapping[A, B]

    Function alias

    Function alias

    Alias to type and object Stream.Interface.Function.Mapping

    Definition Classes
    Stream

Constant

  1. val ParallelEngineSetup: Util.Setup[(Stream[Any]) ⇒ Stream.Flow[Any]]

    Parallel Engine Setup

    Parallel Engine Setup

    This property determines which parallel Flow implementation is used by Stream

    The default engine is based on java.util.stream.Stream

    Definition Classes
    Stream

Method

  1. def from[A](v: GenTraversableOnce[A])(implicit arg0: Tag[A]): ~[A] with Util.Able.Stream[A]
    Definition Classes
    Stream
  2. def from[A](v: Iterator[A])(implicit arg0: Tag[A]): ~[A] with Util.Able.Stream[A]
    Definition Classes
    Stream
  3. def from[A](v: Iterable[A])(implicit arg0: Tag[A]): ~[A] with Util.Able.Stream[A]
    Definition Classes
    Stream
  4. def from[A](v: Array[A])(implicit arg0: Tag[A]): ~[A] with Util.Able.Stream[A]
    Definition Classes
    Stream

Implicit Constructor

  1. implicit def zzMake[A](v: \/): Stream[A] with Util.Able.Stream[A]

    Get void

    Get void

    Implicitly converts void request to void instance of this type

    // Generic examples
    
    val s: ~[String] = \/
    
    val o: Opt[Int]  = \/
    Definition Classes
    WithType

Implicit

  1. implicit def zzFilterMonadic[A](v: Stream[A]): FilterMonadic[A]
    Definition Classes
    _Class
Linear Supertypes
AnyRef, Any
Source: package.scala