trait
Stream[A] extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
collect[B](pf: PartialFunction[A, B]): Stream[B]
-
def
collectFirst[B, BAG[_]](pf: PartialFunction[A, B])(implicit bag: Bag[BAG]): BAG[Option[B]]
-
def
collectFirstOrNull[B, BAG[_]](pf: PartialFunction[A, B])(implicit bag: Bag[BAG]): BAG[B]
-
def
count[BAG[_]](f: (A) ⇒ Boolean)(implicit bag: Bag[BAG]): BAG[Int]
-
def
drop(count: Int): Stream[A]
-
def
dropWhile(f: (A) ⇒ Boolean): Stream[A]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
filter(f: (A) ⇒ Boolean): Stream[A]
-
def
filterNot(f: (A) ⇒ Boolean): Stream[A]
-
def
finalize(): Unit
-
def
flatMap[B](f: (A) ⇒ Stream[B]): Stream[B]
-
def
foldLeft[B, BAG[_]](initial: B)(f: (B, A) ⇒ B)(implicit bag: Bag[BAG]): BAG[B]
-
def
foreach[BAG[_]](f: (A) ⇒ Unit)(implicit bag: Bag[BAG]): BAG[Unit]
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
headOption[BAG[_]](implicit bag: Bag[BAG]): BAG[Option[A]]
-
final
def
isInstanceOf[T0]: Boolean
-
def
iterator[BAG[_]](implicit bag: Sync[BAG]): Iterator[BAG[A]]
-
def
lastOption[BAG[_]](implicit bag: Bag[BAG]): BAG[Option[A]]
-
def
map[B](f: (A) ⇒ B): Stream[B]
-
def
materialize[BAG[_]](implicit bag: Bag[BAG]): BAG[ListBuffer[A]]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
size[BAG[_]](implicit bag: Bag[BAG]): BAG[Int]
-
def
streamer: Streamer[A]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
take(count: Int): Stream[A]
-
def
takeWhile(f: (A) ⇒ Boolean): Stream[A]
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
A Stream performs lazy iteration. It does not cache data and fetches data only if it's required by the stream.