org.widok

BiChildChannel

Related Doc: package widok

case class BiChildChannel[T, U](parent: WriteChannel[T], fwd: Observer[T, U], bwd: Observer[U, T]) extends ChildChannel[T, U] with Product with Serializable

Bi-directional child

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BiChildChannel
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ChildChannel
  7. ChannelDefaultSize
  8. Channel
  9. WriteChannel
  10. Channel
  11. ReadChannel
  12. Disposable
  13. Flush
  14. Size
  15. Cache
  16. MapExtended
  17. Map
  18. Filter
  19. Aggregate
  20. Is
  21. Fold
  22. Take
  23. Tail
  24. Head
  25. AnyRef
  26. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BiChildChannel(parent: WriteChannel[T], fwd: Observer[T, U], bwd: Observer[U, T])

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. def :=(value: U): Unit

    Definition Classes
    Channel
  4. def <<[U](ch: ReadChannel[U], ignore: ReadChannel[U]): ReadChannel[Unit]

    Definition Classes
    WriteChannel
  5. def <<(ch: ReadChannel[U]): ReadChannel[Unit]

    Definition Classes
    WriteChannel
  6. def <<>>(other: Channel[U], ignoreOther: ReadChannel[Unit]): Unit

    Definition Classes
    Channel
  7. def <<>>(other: Channel[U]): Unit

    Definition Classes
    Channel
  8. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  9. def >>(ch: WriteChannel[U]): ReadChannel[Unit]

    Definition Classes
    ReadChannel
  10. def all(value: U): ReadChannel[Boolean]

    All elements are equal to value

    All elements are equal to value

    Definition Classes
    Filter
    See also

    any

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

    At least one element is equal to value

    At least one element is equal to value

    Definition Classes
    Filter
    See also

    all

  12. final def asInstanceOf[T0]: T0

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

    Definition Classes
    ReadChannel
  14. val back: ReadChannel[Unit]

  15. def biMap[U](f: (U) ⇒ U, g: (U) ⇒ U): Channel[U]

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

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

    Two-way binding; synchronises this and other.

    Two-way binding; synchronises this and other.

    Definition Classes
    Channel
  18. def buffer: Buffer[U]

    Buffers all produced elements

    Buffers all produced elements

    Definition Classes
    ReadChannel
  19. val bwd: Observer[U, T]

  20. def cache(default: U): ReadStateChannel[U]

    Definition Classes
    ReadChannelCache
  21. def cache: ReadPartialChannel[U]

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

    Definition Classes
    ReadChannel
  23. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def contains(value: U): ReadChannel[Boolean]

    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.

  25. def count(value: U): ReadChannel[Int]

    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.

  26. def detach(ch: ChildChannel[U, _]): Unit

    Definition Classes
    ReadChannel
  27. def dispose(): Unit

    Definition Classes
    BiChildChannelChannelDisposable
  28. def distinct: ReadChannel[U]

    Filters out (merges) duplicates

    Filters out (merges) duplicates

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

    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.

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

    Definition Classes
    AnyRef
  31. def exists(f: (U) ⇒ Boolean): ReadChannel[Boolean]

    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

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

    Only include elements for which f is true

    Only include elements for which f is true

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

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

    Definition Classes
    Filter
  35. def finalize(): Unit

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

    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
  37. def flatMapBuf[U](f: (U) ⇒ ReadBuffer[U]): ReadBuffer[U]

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

    flatMap with back-propagation.

    flatMap with back-propagation.

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

    Definition Classes
    ReadChannelMapExtended
    See also

    flatMap

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

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

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

    Call f for each element

    Call f for each element

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

    Definition Classes
    ReadChannelFold
    Note

    Caches the accumulator value.

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

    Checks whether f is true for all elements

    Checks whether f is true for all elements

    Definition Classes
    Filter
    See also

    exists

  45. def forkBi[U](fwd: Observer[U, U], bwd: Observer[U, U], silent: Boolean = false): Channel[U]

    Bi-directional fork for values

    Bi-directional fork for values

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

    Bi-directional fork for channels

    Bi-directional fork for channels

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

    Uni-directional fork for values

    Uni-directional fork for values

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

    Uni-directional fork for channels

    Uni-directional fork for channels

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

    Definition Classes
    ReadChannel
  50. val fwd: Observer[T, U]

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

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

    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
  53. def is(value: U): ReadChannel[Boolean]

    Current value is equal to value

    Current value is equal to value

    Definition Classes
    ReadChannelIs
  54. def isEmpty: ReadChannel[Boolean]

    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.

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

    Checks whether the given element is the first produced value

    Checks whether the given element is the first produced value

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

    Definition Classes
    Any
  57. def isNot(value: U): ReadChannel[Boolean]

    Current value is not equal to value

    Current value is not equal to value

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

    Applies f on each element

    Applies f on each element

    Definition Classes
    ReadChannelMap
  59. def mapTo[U](f: (U) ⇒ U): DeltaDict[U, U]

    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
  60. def max[U >: U](init: U)(implicit num: Numeric[U]): ReadChannel[U]

    Calculates maximum value

    Calculates maximum value

    Definition Classes
    Fold
    See also

    foldLeft

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

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

    Calculates minimum value

    Calculates minimum value

    Definition Classes
    Fold
    See also

    foldLeft

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

    Definition Classes
    AnyRef
  64. def nonEmpty: ReadChannel[Boolean]

    Negation of isEmpty

    Negation of isEmpty

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

    Definition Classes
    AnyRef
  66. final def notifyAll(): Unit

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

    Definition Classes
    ReadChannel
  68. val parent: WriteChannel[T]

  69. def partialBiMap[U](f: (U) ⇒ Option[U], g: (U) ⇒ Option[U]): Channel[U]

    Definition Classes
    Channel
  70. def partialMap[U](f: PartialFunction[U, U]): ReadPartialChannel[U]

    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
  71. def partition(f: (U) ⇒ Boolean): (ReadChannel[U], ReadChannel[U])

    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
  72. def process(value: T): Unit

    Return true if the stream is completed.

    Return true if the stream is completed.

    Definition Classes
    BiChildChannelChildChannel
  73. def produce[U](value: U, ignore: ReadChannel[U]*): Unit

    Definition Classes
    WriteChannel
  74. def produce(value: U): Unit

    Definition Classes
    WriteChannelChannel
  75. def product[U >: U](implicit num: Numeric[U]): ReadChannel[U]

    Calculates product

    Calculates product

    Definition Classes
    Fold
    See also

    foldLeft

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

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

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

    Definition Classes
    ReadChannel
  79. def size: ReadChannel[Int]

    Definition Classes
    ChannelDefaultSize
  80. def subscribe[U](ch: ReadChannel[U], ignore: ReadChannel[U]): ReadChannel[Unit]

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

    Redirect stream from other to this.

    Redirect stream from other to this.

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

    Sums over all elements

    Sums over all elements

    Definition Classes
    Fold
    See also

    foldLeft

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

    Definition Classes
    AnyRef
  84. def tail: ReadChannel[U]

    Skips first element

    Skips first element

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

    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.

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

    Take all elements until ch produces any value

    Take all elements until ch produces any value

    Definition Classes
    ReadChannelTake
  87. def toBuffer: Buffer[U]

    Buffers only current element

    Buffers only current element

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

    Definition Classes
    Channel
  89. def toString(): String

    Definition Classes
    BiChildChannelChannel → AnyRef → Any
  90. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  93. def writeTo(write: WriteChannel[U]): Channel[U]

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

    Definition Classes
    ReadChannel

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ChildChannel[T, U]

Inherited from ChannelDefaultSize[U]

Inherited from Channel[U]

Inherited from WriteChannel[U]

Inherited from reactive.propagate.Channel[U]

Inherited from ReadChannel[U]

Inherited from Disposable

Inherited from Flush[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