Object

org.specs2.codata

tee

Related Doc: package codata

Permalink

object tee

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. tee
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type TeeAwaitL[I, I2, O] = Await[T, Is[I], O]

    Permalink
  2. type TeeAwaitR[I, I2, O] = Await[T, T[I2], O]

    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. object AwaitL

    Permalink
  5. object AwaitR

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def disconnectL[I, I2, O](cause: EarlyCause)(tee: Tee[I, I2, O]): Tee[Nothing, I2, O]

    Permalink

    Signals, that _left_ side of tee terminated.

    Signals, that _left_ side of tee terminated. That causes all succeeding AwaitL to terminate with cause giving chance to emit any values or read on right.

  9. def disconnectR[I, I2, O](cause: EarlyCause)(tee: Tee[I, I2, O]): Tee[I, Nothing, O]

    Permalink

    Signals, that _right_ side of tee terminated.

    Signals, that _right_ side of tee terminated. That causes all succeeding AwaitR to terminate with cause giving chance to emit any values or read on left.

  10. def drainL[I]: Tee[Any, I, I]

    Permalink

    Alternate pulling from the left, then right, repeatedly, starting on the left, and emitting only values from the right.

    Alternate pulling from the left, then right, repeatedly, starting on the left, and emitting only values from the right. When the left is exhausted, behaves like passR.

  11. def drainR[I]: Tee[I, Any, I]

    Permalink

    Alternate pulling from the left, then right, repeatedly, starting on the left, and emitting only values from the left.

    Alternate pulling from the left, then right, repeatedly, starting on the left, and emitting only values from the left. When the right is exhausted, behaves like passL.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def feed1L[I, I2, O](i: I)(t: Tee[I, I2, O]): Tee[I, I2, O]

    Permalink

    Feed one input to the left branch of this Tee.

  15. def feed1R[I, I2, O](i2: I2)(t: Tee[I, I2, O]): Tee[I, I2, O]

    Permalink

    Feed one input to the right branch of this Tee.

  16. def feedL[I, I2, O](i: Seq[I])(p: Tee[I, I2, O]): Tee[I, I2, O]

    Permalink

    Feed a sequence of inputs to the left side of a Tee.

  17. def feedR[I, I2, O](i: Seq[I2])(p: Tee[I, I2, O]): Tee[I, I2, O]

    Permalink

    Feed a sequence of inputs to the right side of a Tee.

  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. def interleave[I]: Tee[I, I, I]

    Permalink

    A Tee which alternates between emitting values from the left input and the right input.

  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  26. def passL[I]: Tee[I, Any, I]

    Permalink

    A Tee which ignores all input from the right.

  27. def passR[I2]: Tee[Any, I2, I2]

    Permalink

    A Tee which ignores all input from left.

  28. def receiveL[I, I2, O](rcv: (I) ⇒ Tee[I, I2, O]): Tee[I, I2, O]

    Permalink

    Awaits to receive input from Left side, than if that request terminates with End or is terminated abnormally runs the supplied continue or cleanup.

    Awaits to receive input from Left side, than if that request terminates with End or is terminated abnormally runs the supplied continue or cleanup. Otherwise rcv is run to produce next state.

    If you don't need continue or cleanup use rather awaitL.flatMap

  29. def receiveLOr[I, I2, O](fb: ⇒ Tee[I, I2, O])(rcvL: (I) ⇒ Tee[I, I2, O]): Tee[I, I2, O]

    Permalink

    syntax sugar for receiveL

  30. def receiveR[I, I2, O](rcv: (I2) ⇒ Tee[I, I2, O]): Tee[I, I2, O]

    Permalink

    Awaits to receive input from Right side, than if that request terminates with End or is terminated abnormally runs the supplied continue.

    Awaits to receive input from Right side, than if that request terminates with End or is terminated abnormally runs the supplied continue. Otherwise rcv is run to produce next state.

    If you don't need continue or cleanup use rather awaitR.flatMap

  31. def receiveROr[I, I2, O](fb: ⇒ Tee[I, I2, O])(rcvR: (I2) ⇒ Tee[I, I2, O]): Tee[I, I2, O]

    Permalink

    syntax sugar for receiveR

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

    Permalink
    Definition Classes
    AnyRef
  33. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  34. def until[I]: Tee[Boolean, I, I]

    Permalink

    Echoes the right branch until the left branch becomes true, then halts.

  35. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def when[I]: Tee[Boolean, I, I]

    Permalink

    Echoes the right branch when the left branch is true.

  39. def zip[I, I2]: Tee[I, I2, (I, I2)]

    Permalink

    Defined as zipWith((_,_))

  40. def zipAll[I, I2](padI: I, padI2: I2): Tee[I, I2, (I, I2)]

    Permalink

    A version of zip that pads the shorter stream with values.

  41. def zipApply[I, I2]: Tee[I, (I) ⇒ I2, I2]

    Permalink

    Defined as zipWith((arg,f) => f(arg)

  42. def zipWith[I, I2, O](f: (I, I2) ⇒ O): Tee[I, I2, O]

    Permalink

    Zip together two inputs, then apply the given function, halting as soon as either input is exhausted.

    Zip together two inputs, then apply the given function, halting as soon as either input is exhausted. This implementation reads from the left, then the right.

  43. def zipWithAll[I, I2, O](padI: I, padI2: I2)(f: (I, I2) ⇒ O): Tee[I, I2, O]

    Permalink

    A version of zipWith that pads the shorter stream with values.

Inherited from AnyRef

Inherited from Any

Ungrouped