Short.G.Stream

abstract class Stream[A <: Any.Short] extends Val.Stream[A] with Stream.Custom.Discharge[A]

Short Specialized Generic Stream

To be used with Short based opaque values.

Source
Stream.scala
trait Any.Z.PrimitiveTag.Short
trait Any.Z.PrimitiveTag
trait Stream.Custom.Discharge[Short.G.Stream.A]
trait Stream[Short.G.Stream.A]
class java.lang.Object
trait scala.Matchable
class Any

Def

inline def ++(v: Stream[A]): Short.G.Stream[A]

Alias for join all

Alias for join all

Specialized override of "joinAll" method in general stream _extend interface

Source
Stream.scala
def count: Int

Count all

Count all

Specialized override of "count" method in general stream _evaluate interface

Source
Stream.scala
def count(f: Short.G.Fun.Filter[A]): Int

Conditional count

Conditional count

Specialized override of "count" method in general stream _evaluate interface

Source
Stream.scala
def dischargeTo(b: Buffer[A]): Unit

Custom discharge

Custom discharge

Custom discharge implementation, which will benefit operations like: pack, toBuffer, toArray and others

Source
Stream.scala

Main reverse filter

Main reverse filter

Specialized override of "drop" method in general stream _filter._drop interface

Source
Stream.scala
inline def DROP(f: A => Boolean): Short.G.Stream[A]

Reverse heavy filter

Reverse heavy filter

Specialized override of "DROP" method in general stream _filter._drop interface

Source
Stream.scala
def dropOnly(v: A): Short.G.Stream[A]

Single value reverse filter

Single value reverse filter

Specialized override of "dropOnly" method in general stream _filter._drop interface

Source
Stream.scala

Legacy filter

Legacy filter

Operation is inlined as "take"

Source
Stream.scala
inline def FILTER(f: A => Boolean): Short.G.Stream[A]

Legacy heavy filter

Legacy heavy filter

Operation is inlined as "TAKE"

Source
Stream.scala
inline def FLAT_MAP[B](f: A => Stream[B])(using s: Specialized[B]): s.Stream

Map

Map

Specialized override of "FLAT_MAP" method in general stream _map interface

Source
Stream.scala
inline def flatMap[B](f: A => Stream[B])(using s: Specialized[B]): s.Stream

Map

Map

Specialized override of "flatMap" method in general stream _map interface

Source
Stream.scala
def fold(start: A)(f: Short.G.Fun.Fold[A]): A

Fold

Fold

Specialized override of "fold" method in general stream _aggregate interface

Source
Stream.scala
inline def FOLD(s: A)(f: (A, A) => A): A

Heavy fold

Heavy fold

Specialized override of "FOLD" method in general stream _aggregate interface

Source
Stream.scala
inline def FOLD_AS[B](s: B)(f: (B, A) => B): B

Heavy fold and convert

Heavy fold and convert

Specialized override of "FOLD_AS" method in general stream _aggregate interface

Source
Stream.scala
def foldAs[B](start: B)(f: Short.G.Fun.FoldAs[B, A]): B

Fold and convert

Fold and convert

Specialized override of "foldAs" method in general stream _aggregate interface

Source
Stream.scala
def foreach[U](f: Short.G.Fun.Consume[A, U]): Unit

Process stream

Process stream

Specialized override of "foreach" method in general stream _process interface

Source
Stream.scala
inline def FOREACH[U](f: A => U): Unit

Heavy process stream

Heavy process stream

Specialized override of "FOREACH" method in general stream _process interface

Source
Stream.scala
def joinAll(v: Stream[A]): Short.G.Stream[A]

Join all

Join all

Specialized override of "joinAll" method in general stream _extend interface

Source
Stream.scala
inline def map[B](f: A => B)(using s: Specialized[B]): s.Stream

Map

Map

Specialized override of "map" method in general stream _map interface

Source
Stream.scala
inline def MAP[B](f: A => B)(using s: Specialized[B]): s.Stream

Heavy map

Heavy map

Specialized override of "MAP" method in general stream _map interface

Source
Stream.scala
inline def MAP_OPT[B, OPT <: Any.Opt[B]](f: A => OPT)(using o: Specialized.Opt[B, OPT], s: Specialized[B]): s.Stream

Heavy optional map

Heavy optional map

Specialized override of "MAP_OPT" method in general stream _map interface

Source
Stream.scala
inline def mapIf(f: A => Boolean, m: A => A): Short.G.Stream[A]

Conditional map

Conditional map

Specialized override of "mapIf" method in general stream _map interface

Source
Stream.scala
inline def mapOpt[B, OPT <: Any.Opt[B]](f: A => OPT)(using s: Specialized[B]): s.Stream

Optional map

Optional map

Specialized override of "mapOpt" method in general stream _map interface

Source
Stream.scala

Pack

Pack

Specialized override of "pack" method in general stream _toCollections interface

Source
Stream.scala
def readOpt: Opt[A]

Read boxed

Read boxed

Implementation of stream "readOpt" method

Source
Stream.scala

Read primitive

Read primitive

Main specialized stream method to be implemented.

Source
Stream.scala
def reduce(f: Short.G.Fun.Fold[A]): A

Reduce

Reduce

Specialized override of "reduce" method in general stream _aggregate interface

Source
Stream.scala
inline def REDUCE(f: (A, A) => A): A

Heavy reduce

Heavy reduce

Specialized override of "REDUCE" method in general stream _aggregate interface

Source
Stream.scala
inline def REDUCE_OPT(f: (A, A) => A): Short.G.Opt[A]

Heavy optional reduce

Heavy optional reduce

Specialized override of "REDUCE_OPT" method in general stream _aggregate interface

Source
Stream.scala

Optional reduce

Optional reduce

Specialized override of "reduceOpt" method in general stream _aggregate interface

Source
Stream.scala

Main filter

Main filter

Specialized override of "take" method in general stream _filter._take interface

Source
Stream.scala
inline def TAKE(f: A => Boolean): Short.G.Stream[A]

Heavy filter

Heavy filter

Specialized override of "TAKE" method in general stream _filter._take interface

Source
Stream.scala
def takeOnly(v: A): Short.G.Stream[A]

Single value filter

Single value filter

Specialized override of "takeOnly" method in general stream _filter._take interface

Source
Stream.scala
def toArray: Array[A]

Convert to Array

Convert to Array

Specialized override of "toArray" method in general stream _toCollections interface

Source
Stream.scala

Convert to Buffer

Convert to Buffer

Specialized override of "toBuffer" method in general stream _toCollections interface

Source
Stream.scala

Convert to Set

Convert to Set

Specialized override of "toSet" method in general stream _toCollections interface

Source
Stream.scala