Class

pl.metastack.metarx

Dep

Related Doc: package metarx

Permalink

class Dep[T, U] extends Sub[U]

See also

Sub.dep()

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Dep
  2. Sub
  3. Var
  4. PartialChannel
  5. ChannelDefaultSize
  6. StateChannel
  7. ChannelDefaultDispose
  8. ReadStateChannel
  9. Channel
  10. Bind
  11. WriteChannel
  12. Subscribe
  13. Produce
  14. ReadChannel
  15. Disposable
  16. Publish
  17. Flush
  18. PartialChannel
  19. Size
  20. Cache
  21. MapExtended
  22. Map
  23. Filter
  24. Aggregate
  25. Is
  26. Fold
  27. Take
  28. Tail
  29. Head
  30. AnyRef
  31. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class WithFilter extends AnyRef

    Permalink
    Definition Classes
    ReadChannel

Value Members

  1. def !(subscriber: ReadChannel[U]): Unit

    Permalink
    Definition Classes
    Sub
  2. def !(value: U): Unit

    Permalink

    Definition Classes
    Produce
    See also

    produce

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def !==(value: ReadChannel[U]): ReadChannel[Boolean]

    Permalink
    Definition Classes
    Is
  5. def !==(value: U): ReadChannel[Boolean]

    Permalink
    Definition Classes
    Is
  6. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  7. def :=(subscriber: ReadChannel[U]): Unit

    Permalink
    Definition Classes
    Sub
  8. def :=(value: U): Unit

    Permalink

    Definition Classes
    StateChannel
    See also

    set

  9. def <<(ch: ReadChannel[U]): ReadChannel[Unit]

    Permalink
    Definition Classes
    Subscribe
  10. def <<>>(other: Channel[U]): Unit

    Permalink
    Definition Classes
    Bind
  11. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def ===(value: ReadChannel[U]): ReadChannel[Boolean]

    Permalink
    Definition Classes
    Is
  13. def ===(value: U): ReadChannel[Boolean]

    Permalink
    Definition Classes
    Is
  14. def >>(ch: WriteChannel[U]): ReadChannel[Unit]

    Permalink
    Definition Classes
    Publish
  15. def all(value: U): ReadChannel[Boolean]

    Permalink

    All elements are equal to value

    All elements are equal to value

    Definition Classes
    Filter
    See also

    any

  16. def any(value: U): ReadChannel[Boolean]

    Permalink

    At least one element is equal to value

    At least one element is equal to value

    Definition Classes
    Filter
    See also

    all

  17. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  18. def attach(f: (U) ⇒ Unit): ReadChannel[Unit]

    Permalink
    Definition Classes
    ReadChannel
  19. def biMap[U](f: (U) ⇒ U, g: (U) ⇒ U): Channel[U]

    Permalink
    Definition Classes
    Channel
  20. def bind(other: Channel[U], ignoreOther: ReadChannel[Unit]): Unit

    Permalink
    Definition Classes
    Channel
  21. def bind(other: Channel[U]): Unit

    Permalink

    Two-way binding; synchronises this and other.

    Two-way binding; synchronises this and other.

    Definition Classes
    ChannelBind
  22. def buffer: Buffer[U]

    Permalink

    Buffers all produced elements

    Buffers all produced elements

    Definition Classes
    ReadChannel
  23. def cache(default: U): ReadStateChannel[U]

    Permalink
    Definition Classes
    ReadChannelCache
  24. def cache: ReadPartialChannel[U]

    Permalink
    Definition Classes
    ReadChannelCache
  25. def child(): ReadChannel[U]

    Permalink
    Definition Classes
    ReadChannel
  26. def clear()(implicit ev: <:<[U, Option[_]]): Unit

    Permalink

    Clear current value (if exists)

    Clear current value (if exists)

    Definition Classes
    VarPartialChannel
  27. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def collect[U](f: PartialFunction[U, U]): ReadChannel[U]

    Permalink

    Applies partial function f on each element; if the function is not defined for the current input, it is filtered out

    Applies partial function f on each element; if the function is not defined for the current input, it is filtered out

    Definition Classes
    ReadChannelMapExtended
  29. def contains[U](value: U)(implicit ev: <:<[U, Option[U]]): ReadChannel[Boolean]

    Permalink
    Definition Classes
    ReadChannelPartialChannel
  30. def count(implicit ev: <:<[U, Option[_]]): ReadChannel[Int]

    Permalink
    Definition Classes
    ReadChannelPartialChannel
  31. def count(value: U): ReadChannel[Int]

    Permalink

    Count number of occurrence of value.

    Count number of occurrence of value.

    Definition Classes
    Filter
    Note

    Channels: With every matching element, the counter is increased.

    ,

    Buffers: When the element is removed, the counter is decreased.

  32. def dep[U](fwd: (ReadChannel[U]) ⇒ ReadChannel[U], bwd: (ReadChannel[U]) ⇒ ReadChannel[U]): Dep[U, U]

    Permalink
    Definition Classes
    Sub
  33. def detach(): Unit

    Permalink
    Definition Classes
    Sub
  34. def detach(ch: ChildChannel[U, _]): Unit

    Permalink
    Definition Classes
    ReadChannel
  35. def dispose(): Unit

    Permalink
    Definition Classes
    DepSubChannelDefaultDisposeChannelDisposable
  36. def distinct: ReadChannel[U]

    Permalink

    Filters out (merges) duplicates

    Filters out (merges) duplicates

    Definition Classes
    ReadChannelAggregate
  37. def drop(count: Int): ReadChannel[U]

    Permalink

    Definition Classes
    ReadChannelTake
    Note

    Channels: Skips first count elements, then stop listening. Subscribing to it will always yield the last result as initial value.

    ,

    Buffers: Creates a sub-buffer without the first count elements.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  40. def exists(f: (U) ⇒ Boolean): ReadChannel[Boolean]

    Permalink

    Checks for existence of a value for which f is true

    Checks for existence of a value for which f is true

    Definition Classes
    Filter
    Note

    Channels: false as long as f returns false, then true

    ,

    Buffers: false as long as no row exists where f is true, then true

    See also

    forall

  41. def filter(f: (U) ⇒ Boolean): ReadChannel[U]

    Permalink

    Only include elements for which f is true

    Only include elements for which f is true

    Definition Classes
    ReadChannelFilter
  42. def filterCycles: ReadChannel[U]

    Permalink
    Definition Classes
    ReadChannel
  43. def filterNot(f: (U) ⇒ Boolean): ReadChannel[U]

    Permalink
    Definition Classes
    Filter
  44. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  45. def flatMap[U](f: (U) ⇒ ReadChannel[U]): ReadChannel[U]

    Permalink

    Applies f on each element and flatten its result into the stream

    Applies f on each element and flatten its result into the stream

    Definition Classes
    ReadChannelMapExtended
  46. def flatMapBuf[U](f: (U) ⇒ ReadBuffer[U]): ReadBuffer[U]

    Permalink
    Definition Classes
    ReadChannel
  47. def flatMapCh[U](f: (U) ⇒ Channel[U]): Channel[U]

    Permalink

    flatMap with back-propagation.

    flatMap with back-propagation.

    Definition Classes
    ReadChannel
  48. def flatMapSeq[U](f: (U) ⇒ Seq[U]): ReadChannel[U]

    Permalink

    Definition Classes
    ReadChannelMapExtended
    See also

    flatMap

  49. def flatProduce[U](value: Option[U], ignore: ReadChannel[U]*): Unit

    Permalink
    Definition Classes
    WriteChannel
  50. def flatProduce(value: Option[U]): Unit

    Permalink
    Definition Classes
    WriteChannel
  51. def flush(f: (U) ⇒ Unit): Unit

    Permalink

    Call f for each element

    Call f for each element

    Definition Classes
    VarWriteChannelReadChannelFlush
  52. def foldLeft[U](acc: U)(f: (U, U) ⇒ U): ReadChannel[U]

    Permalink

    Definition Classes
    ReadChannelFold
    Note

    Caches the accumulator value.

  53. def forall(f: (U) ⇒ Boolean): ReadChannel[Boolean]

    Permalink

    Checks whether f is true for all elements

    Checks whether f is true for all elements

    Definition Classes
    Filter
    See also

    exists

  54. def foreach[U](f: (U) ⇒ U): Unit

    Permalink
    Definition Classes
    ReadChannel
  55. def forkBi[U](fwd: Observer[U, U], bwd: Observer[U, U], silent: Boolean = false): Channel[U]

    Permalink

    Bi-directional fork for values

    Bi-directional fork for values

    Definition Classes
    WriteChannel
  56. def forkBiFlat[U](obs: Observer[U, Channel[U]]): Channel[U]

    Permalink

    Bi-directional fork for channels

    Bi-directional fork for channels

    Definition Classes
    ReadChannel
  57. def forkUni[U](observer: Observer[U, U], filterCycles: Boolean = false): ReadChannel[U]

    Permalink

    Uni-directional fork for values

    Uni-directional fork for values

    Definition Classes
    ReadChannel
  58. def forkUniFlat[U](observer: Observer[U, ReadChannel[U]]): ReadChannel[U]

    Permalink

    Uni-directional fork for channels

    Uni-directional fork for channels

    Definition Classes
    ReadChannel
  59. def forkUniState[U](observer: Observer[U, U], onFlush: ⇒ Option[U]): ReadChannel[U]

    Permalink
    Definition Classes
    ReadChannel
  60. def get: U

    Permalink
    Definition Classes
    VarReadStateChannel
  61. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  62. def has(value: U): ReadChannel[Boolean]

    Permalink

    Stream contains at least one occurrence of value.

    Stream contains at least one occurrence of value.

    Definition Classes
    Filter
    Note

    Channels: Once true, will never produce any other value.

    ,

    Buffers: When the item is removed, it will produce false.

  63. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  64. def head: ReadChannel[U]

    Permalink

    Wraps first element as a channel

    Wraps first element as a channel

    Denotes first produced element after the head call; whether head has observers at this point is irrelevant as the value is cached (i.e. attaching repeatedly will always lead the same value)

    Definition Classes
    ReadChannelHead
  65. def is(other: ReadChannel[U]): ReadChannel[Boolean]

    Permalink
    Definition Classes
    ReadChannelIs
  66. def is(value: U): ReadChannel[Boolean]

    Permalink

    Current value is equal to value

    Current value is equal to value

    Definition Classes
    ReadChannelIs
  67. def isDefined(implicit ev: <:<[U, Option[_]]): ReadChannel[Boolean]

    Permalink

    true if partial channel has a value, false otherwise

    true if partial channel has a value, false otherwise

    Definition Classes
    ReadChannelPartialChannel
  68. def isEmpty: ReadChannel[Boolean]

    Permalink

    Definition Classes
    Size
    Note

    Partial channels: Produce true if the current value is cleared.

    ,

    Channels: Produce false with the first received value.

    ,

    Buffers: Produce a new value once a row is added or removed.

  69. def isHead(value: U): ReadChannel[Boolean]

    Permalink

    Checks whether the given element is the first produced value

    Checks whether the given element is the first produced value

    Definition Classes
    ReadChannelHead
  70. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  71. def isNot(other: ReadChannel[U]): ReadChannel[Boolean]

    Permalink
    Definition Classes
    ReadChannelIs
  72. def isNot(value: U): ReadChannel[Boolean]

    Permalink

    Current value is not equal to value

    Current value is not equal to value

    Definition Classes
    ReadChannelIs
  73. def map[U](f: (U) ⇒ U): ReadChannel[U]

    Permalink

    Applies f on each element

    Applies f on each element

    Definition Classes
    ReadChannelMap
  74. def mapOrElse[U, V](f: (U) ⇒ V, default: ⇒ V)(implicit ev: <:<[U, Option[U]]): ReadChannel[V]

    Permalink
    Definition Classes
    ReadChannelPartialChannel
  75. def mapTo[U](f: (U) ⇒ U): DeltaDict[U, U]

    Permalink

    Map f on each element and turn stream into a dictionary

    Map f on each element and turn stream into a dictionary

    Definition Classes
    ReadChannelMapExtended
  76. def mapValues[U, V](f: (U) ⇒ V)(implicit ev: <:<[U, Option[U]]): ReadChannel[Option[V]]

    Permalink
    Definition Classes
    ReadChannelPartialChannel
  77. def max[U >: U](init: U)(implicit num: Numeric[U]): ReadChannel[U]

    Permalink

    Calculates maximum value

    Calculates maximum value

    Definition Classes
    Fold
    See also

    foldLeft

  78. def merge(ch: ReadChannel[U]): ReadChannel[U]

    Permalink
    Definition Classes
    ReadChannel
  79. def min[U >: U](init: U)(implicit num: Numeric[U]): ReadChannel[U]

    Permalink

    Calculates minimum value

    Calculates minimum value

    Definition Classes
    Fold
    See also

    foldLeft

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

    Permalink
    Definition Classes
    AnyRef
  81. def nonEmpty: ReadChannel[Boolean]

    Permalink

    Negation of isEmpty

    Negation of isEmpty

    Definition Classes
    Size
  82. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  84. def or(ch: ReadChannel[_]): ReadChannel[Unit]

    Permalink
    Definition Classes
    ReadChannel
  85. def orElse[U](default: ⇒ ReadChannel[U])(implicit ev: <:<[U, Option[U]]): ReadChannel[U]

    Permalink
    Definition Classes
    ReadChannelPartialChannel
  86. def partialBiMap[U](f: (U) ⇒ Option[U], g: (U) ⇒ Option[U]): Channel[U]

    Permalink
    Definition Classes
    Channel
  87. def partialUpdate[U](f: PartialFunction[U, U])(implicit ev: <:<[U, Option[U]]): Unit

    Permalink
    Definition Classes
    VarPartialChannel
  88. def partition(f: (U) ⇒ Boolean): (ReadChannel[U], ReadChannel[U])

    Permalink

    Partitions stream into two sub-stream

    Partitions stream into two sub-stream

    The left stream contains all elements for which f is true, all other elements go to the right stream.

    Definition Classes
    Filter
  89. def produce(value: U): Unit

    Permalink

    Propagates value to children

    Propagates value to children

    Definition Classes
    DepSubVarWriteChannelProduce
  90. def produce(value: ReadChannel[U]): Unit

    Permalink
    Definition Classes
    DepSub
  91. def produce[U](value: U, ignore: ReadChannel[U]*): Unit

    Permalink
    Definition Classes
    WriteChannel
  92. def product[U >: U](implicit num: Numeric[U]): ReadChannel[U]

    Permalink

    Calculates product

    Calculates product

    Definition Classes
    Fold
    See also

    foldLeft

  93. def publish[U](ch: WriteChannel[U], ignore: ReadChannel[U]): ReadChannel[Unit]

    Permalink
    Definition Classes
    ReadChannel
  94. def publish(ch: WriteChannel[U]): ReadChannel[Unit]

    Permalink
    Definition Classes
    ReadChannelPublish
  95. def set(subscriber: ReadChannel[U]): Unit

    Permalink
    Definition Classes
    Sub
  96. def set(value: U): Unit

    Permalink

    Sets and propagates value to children

    Sets and propagates value to children

    Definition Classes
    StateChannel
  97. def silentAttach(f: (U) ⇒ Unit): ReadChannel[Unit]

    Permalink
    Definition Classes
    ReadChannel
  98. def size: ReadChannel[Int]

    Permalink
    Definition Classes
    ChannelDefaultSize
  99. def state(default: U): Var[U]

    Permalink
    Definition Classes
    Channel
  100. def state: Opt[U]

    Permalink
    Definition Classes
    Channel
  101. def subscribe[U](ch: ReadChannel[U], ignore: ReadChannel[U]): ReadChannel[Unit]

    Permalink
    Definition Classes
    WriteChannel
  102. def subscribe(ch: ReadChannel[U]): ReadChannel[Unit]

    Permalink

    Redirect stream from other to this.

    Redirect stream from other to this.

    Definition Classes
    WriteChannelSubscribe
  103. def sum[U >: U](implicit num: Numeric[U]): ReadChannel[U]

    Permalink

    Sums over all elements

    Sums over all elements

    Definition Classes
    Fold
    See also

    foldLeft

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

    Permalink
    Definition Classes
    AnyRef
  105. def tail: ReadChannel[U]

    Permalink

    Skips first element

    Skips first element

    Definition Classes
    ReadChannelTail
  106. def take(count: Int): ReadChannel[U]

    Permalink

    Definition Classes
    ReadChannelTake
    Note

    Channels: Takes first count elements, then stop listening. Subscribing to it will always yield the last result as initial value.

    ,

    Buffers: Will always contain the first count (or less) elements of the parent buffer.

  107. def takeUntil(ch: ReadChannel[_]): ReadChannel[U]

    Permalink

    Take all elements until ch produces any value

    Take all elements until ch produces any value

    Definition Classes
    ReadChannelTake
  108. def takeWhile(f: (U) ⇒ Boolean): ReadChannel[U]

    Permalink
    Definition Classes
    ReadChannel
  109. def throttle(interval: FiniteDuration)(implicit scheduler: Scheduler): ReadChannel[U]

    Permalink
    Definition Classes
    ReadChannel
  110. def toBuffer: Buffer[U]

    Permalink

    Buffers only current element

    Buffers only current element

    Definition Classes
    ReadChannel
  111. def toOpt: Opt[U]

    Permalink
    Definition Classes
    Channel
  112. def toString(): String

    Permalink
    Definition Classes
    SubVarChannel → AnyRef → Any
  113. def undefined(implicit ev: <:<[U, Option[_]]): ReadChannel[Boolean]

    Permalink
    Definition Classes
    ReadChannelPartialChannel
  114. def update(f: (U) ⇒ U): Unit

    Permalink
    Definition Classes
    StateChannel
  115. def values[U](implicit ev: <:<[U, Option[U]]): ReadChannel[U]

    Permalink

    Filters out all defined values

    Filters out all defined values

    Definition Classes
    ReadChannelPartialChannel
  116. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  119. def withFilter(f: (U) ⇒ Boolean): WithFilter

    Permalink
    Definition Classes
    ReadChannel
  120. def writeTo(write: WriteChannel[U]): Channel[U]

    Permalink
    Definition Classes
    ReadChannel
  121. def zip[U, V, W, X](other1: ReadChannel[U], other2: ReadChannel[V], other3: ReadChannel[W], other4: ReadChannel[X]): ReadChannel[(U, U, V, W, X)]

    Permalink
    Definition Classes
    ReadChannel
  122. def zip[U, V, W](other1: ReadChannel[U], other2: ReadChannel[V], other3: ReadChannel[W]): ReadChannel[(U, U, V, W)]

    Permalink
    Definition Classes
    ReadChannel
  123. def zip[U, V](other1: ReadChannel[U], other2: ReadChannel[V]): ReadChannel[(U, U, V)]

    Permalink

    Helper function to zip channel with the two given channels.

    Helper function to zip channel with the two given channels. Can be used to avoid nested tuples.

    Definition Classes
    ReadChannel
  124. def zip[U](other: ReadChannel[U]): ReadChannel[(U, U)]

    Permalink
    Definition Classes
    ReadChannel
  125. def zipWith[U, V](other: ReadChannel[U])(f: (U, U) ⇒ V): ReadChannel[V]

    Permalink
    Definition Classes
    ReadChannel
  126. def |(ch: ReadChannel[_]): ReadChannel[Unit]

    Permalink
    Definition Classes
    ReadChannel

Inherited from Sub[U]

Inherited from Var[U]

Inherited from PartialChannel[U]

Inherited from ChannelDefaultSize[U]

Inherited from StateChannel[U]

Inherited from ChannelDefaultDispose[U]

Inherited from ReadStateChannel[U]

Inherited from Channel[U]

Inherited from Bind[U]

Inherited from WriteChannel[U]

Inherited from Subscribe[U]

Inherited from Produce[U]

Inherited from ReadChannel[U]

Inherited from Disposable

Inherited from Publish[U]

Inherited from Flush[U]

Inherited from PartialChannel[U]

Inherited from Size

Inherited from Cache[U]

Inherited from MapExtended[ReadChannel, U]

Inherited from Map[ReadChannel, U]

Inherited from Filter[ReadChannel, U, U]

Inherited from Aggregate[ReadChannel, U]

Inherited from Is[U]

Inherited from Fold[U]

Inherited from Take[ReadChannel, U]

Inherited from Tail[ReadChannel, U]

Inherited from Head[U]

Inherited from AnyRef

Inherited from Any

Ungrouped