Object/Trait

molecule.channel

IChan

Related Docs: trait IChan | package channel

Permalink

object IChan

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. IChan
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. case class Nil(signal: Signal) extends IChan[Nothing] with Product with Serializable

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(r: Range): IChan[Int]

    Permalink
  5. def apply[A](a: A, as: A*)(implicit arg0: Message[A]): IChan[A]

    Permalink

    Creates a stream with the specified elements.

    Creates a stream with the specified elements.

    A

    the type of the stream's elements

    a

    the first elements of the created stream

    as

    the remaining elements of the created stream

    returns

    a new stream with the elements passed as parameters

  6. def apply[A](seg: Seg[A], signal: Signal)(implicit arg0: Message[A]): IChan[A]

    Permalink

    Create a channel that returns a single segment.

    Create a channel that returns a single segment.

    A

    the type of the messages carried by the input channel.

    seg

    the segment read on the channel.

    signal

    the termination signal.

    returns

    an input channel that contains a single segment.

  7. def apply[A](a: A, tail: ⇒ IChan[A])(implicit arg0: Message[A]): IChan[A]

    Permalink

    Create an input channel that generates data lazily out of main memory.

    Create an input channel that generates data lazily out of main memory.

    A

    the type of the messages carried by the input channel.

    a

    the first message read on the channel.

    tail

    the remainder of the channel.

    returns

    an input channel with a segment prepended.

  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def bind[A](first: IChan[A], next: (A, Signal) ⇒ IChan[A])(implicit arg0: Message[A]): IChan[A]

    Permalink
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def cons[A](seg: Seg[A], tail: ⇒ IChan[A])(implicit arg0: Message[A]): IChan[A]

    Permalink

    Create a, input channel that generates data lazily out of main memory.

    Create a, input channel that generates data lazily out of main memory.

    A

    the type of the messages carried by the input channel.

    seg

    the segment to prepend to the channel.

    tail

    the original input channel.

    returns

    an input channel with a segment prepended.

  12. def cons_![A](seg: Seg[A], tail: IChan[A])(implicit arg0: Message[A]): IChan[A]

    Permalink

    Prepend a segment in front of an existing input channel.

    Prepend a segment in front of an existing input channel.

    A

    the type of the messages carried by the input channel.

    seg

    the segment to prepend to the channel.

    tail

    the original input channel.

    returns

    an input channel with a segment prepended.

  13. def continually[A](elem: ⇒ A)(implicit arg0: Message[A]): IChan[A]

    Permalink

    Create an infinite stream containing the given element expression (which is computed for each occurrence)

    Create an infinite stream containing the given element expression (which is computed for each occurrence)

    elem

    the element composing the resulting stream

    returns

    the stream containing an infinite number of elem // TODO add iterator seg

  14. def empty[A]: IChan[A]

    Permalink

    Construct a input channel that terminates immediately with EOS

    Construct a input channel that terminates immediately with EOS

    A

    the type of the messages carried by the input channel.

    returns

    An input channel that terminates immediately.

  15. def empty[A](signal: Signal): IChan[A]

    Permalink

    Construct a input channel that terminates immediately with a signal

    Construct a input channel that terminates immediately with a signal

    A

    the type of the messages carried by the input channel.

    signal

    the termination signal.

    returns

    An input channel that terminates immediately.

  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  18. def fill[A](n: Int)(elem: ⇒ A)(implicit arg0: Message[A]): IChan[A]

    Permalink

    Create an stream of fixed size containing the given element expression which is computed at the time the channel is read

    Create an stream of fixed size containing the given element expression which is computed at the time the channel is read

    elem

    the element composing the resulting stream

    returns

    the stream containing an infinite number of elem

  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def from(start: Int): IChan[Int]

    Permalink

    Create an infinite stream starting at start and incrementing by 1.

    Create an infinite stream starting at start and incrementing by 1.

    start

    the start value of the stream

    returns

    the stream starting at value start.

  21. def from(start: Int, step: Int): IChan[Int]

    Permalink

    Create an infinite stream starting at start and incrementing by step step

    Create an infinite stream starting at start and incrementing by step step

    start

    the start value of the stream

    step

    the increment value of the stream

    returns

    the stream starting at value start.

  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. implicit def ichanIsMessage[A]: Message[IChan[A]]

    Permalink
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def iterate[A](start: A)(f: (A) ⇒ A)(implicit arg0: Message[A]): IChan[A]

    Permalink

    An infinite stream that repeatedly applies a given function to a start value.

    An infinite stream that repeatedly applies a given function to a start value.

    start

    the start value of the stream

    f

    the function that's repeatedly applied

    returns

    the stream returning the infinite sequence of values start, f(start), f(f(start)), ...

  27. def lazily[A](elem: ⇒ A): IChan[A]

    Permalink

    Create an infinite stream containing the given element expression which is computed at the time the channel is read.

    Create an infinite stream containing the given element expression which is computed at the time the channel is read. Contrarily to continually, this channels emits one message at a time.

    elem

    the element composing the resulting stream

    returns

    the stream containing an infinite number of elem

  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. def source[A](as: Traversable[A], sst: Int = SST)(implicit arg0: Message[A]): IChan[A]

    Permalink
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. def tabulate[A](n: Int)(f: (Int) ⇒ A)(implicit arg0: Message[A]): IChan[A]

    Permalink

    Produces a stream containing values of a given function over a range of integer values starting from 0.

    Produces a stream containing values of a given function over a range of integer values starting from 0.

    n

    The number of elements to generate.

    f

    The function computing element values

    returns

    A new stream consisting of elements f(0), ..., f(n -1)

  34. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  35. def unapply(ichan: IChan[_]): Option[Signal]

    Permalink
  36. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped