Packages

trait Stream[A] extends AnyRef

A Stream performs lazy iteration. It does not cache data and fetches data only if it's required by the stream.

Self Type
Stream[A]
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Stream
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. def collect[B](pf: PartialFunction[A, B]): Stream[B]
  7. def collectFirst[B, BAG[_]](pf: PartialFunction[A, B])(implicit bag: Bag[BAG]): BAG[Option[B]]
  8. def collectFirstOrNull[B, BAG[_]](pf: PartialFunction[A, B])(implicit bag: Bag[BAG]): BAG[B]
  9. def count[BAG[_]](f: (A) ⇒ Boolean)(implicit bag: Bag[BAG]): BAG[Int]
  10. def drop(count: Int): Stream[A]
  11. def dropWhile(f: (A) ⇒ Boolean): Stream[A]
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def filter(f: (A) ⇒ Boolean): Stream[A]
  15. def filterNot(f: (A) ⇒ Boolean): Stream[A]
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def flatMap[B](f: (A) ⇒ Stream[B]): Stream[B]
  18. def foldLeft[B, BAG[_]](initial: B)(f: (B, A) ⇒ B)(implicit bag: Bag[BAG]): BAG[B]

    Materializes are executes the stream.

    Materializes are executes the stream.

    TODO - tag.foldLeft should run point.

  19. def foreach[BAG[_]](f: (A) ⇒ Unit)(implicit bag: Bag[BAG]): BAG[Unit]
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. final def headOption[BAG[_]](implicit bag: Bag[BAG]): BAG[Option[A]]
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def iterator[BAG[_]](implicit bag: Sync[BAG]): Iterator[BAG[A]]
  25. def lastOption[BAG[_]](implicit bag: Bag[BAG]): BAG[Option[A]]

    Reads all items from the Stream and returns the last.

    Reads all items from the Stream and returns the last.

    For a more efficient one use swaydb.Map.lastOption or swaydb.Set.lastOption instead.

  26. def map[B](f: (A) ⇒ B): Stream[B]
  27. def materialize[BAG[_]](implicit bag: Bag[BAG]): BAG[ListBuffer[A]]

    Materialises/closes and processes the stream to a Seq.

  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. def size[BAG[_]](implicit bag: Bag[BAG]): BAG[Int]

    Folds over all elements in the Stream to calculate it's total size.

  32. def streamer: Streamer[A]
  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. def take(count: Int): Stream[A]
  35. def takeWhile(f: (A) ⇒ Boolean): Stream[A]
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped