com.thoughtworks.binding.Binding.BindingSeq

FlatMap

final class FlatMap[A, B] extends BindingSeq[B] with HasCache[BindingSeq[B]]

Source
Binding.scala
Linear Supertypes
HasCache[BindingSeq[B]], BindingSeq[B], AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FlatMap
  2. HasCache
  3. BindingSeq
  4. AnyRef
  5. Any
Implicitly
  1. by AsBinding
  2. by AsBinding
  3. by any2stringadd
  4. by any2stringfmt
  5. by any2ArrowAssoc
  6. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FlatMap(upstream: BindingSeq[A], f: (A) ⇒ BindingSeq[B])

Type Members

  1. final class WithFilter extends AnyRef

    A helper to build complicated comprehension expressions for BindingSeq

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from FlatMap[A, B] to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (FlatMap[A, B], B)

    Implicit information
    This member is added by an implicit conversion from FlatMap[A, B] to ArrowAssoc[FlatMap[A, B]] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. def addPatchedListener(listener: PatchedListener[B]): Unit

    Attributes
    protected
    Definition Classes
    FlatMapBindingSeq
    Annotations
    @inline()
  9. final def all: Binding[Seq[B]]

    Returns a new Binding expression of all elements in this BindingSeq.

    Returns a new Binding expression of all elements in this BindingSeq.

    Definition Classes
    BindingSeq
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def ensuring(cond: (FlatMap[A, B]) ⇒ Boolean, msg: ⇒ Any): FlatMap[A, B]

    Implicit information
    This member is added by an implicit conversion from FlatMap[A, B] to Ensuring[FlatMap[A, B]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (FlatMap[A, B]) ⇒ Boolean): FlatMap[A, B]

    Implicit information
    This member is added by an implicit conversion from FlatMap[A, B] to Ensuring[FlatMap[A, B]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: ⇒ Any): FlatMap[A, B]

    Implicit information
    This member is added by an implicit conversion from FlatMap[A, B] to Ensuring[FlatMap[A, B]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): FlatMap[A, B]

    Implicit information
    This member is added by an implicit conversion from FlatMap[A, B] to Ensuring[FlatMap[A, B]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def flatMap[B](f: (B) ⇒ BindingSeq[B]): BindingSeq[B]

    Returns a BindingSeq that flat-maps each element of this BindingSeq via f

    Returns a BindingSeq that flat-maps each element of this BindingSeq via f

    f

    The mapper function, which may contain magic bind calls.

    Definition Classes
    BindingSeq
    Annotations
    @macroImpl( ... )
  20. final def flatMapBinding[B](f: (B) ⇒ Binding[BindingSeq[B]]): BindingSeq[B]

    The underlying implementation of flatMap.

    The underlying implementation of flatMap.

    Definition Classes
    BindingSeq
    Annotations
    @inline()
    Note

    Don't use this method in user code.

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

    Definition Classes
    BindingSeq
    Annotations
    @macroImpl( ... )
  22. def foreachBinding[U](f: (B) ⇒ Binding[U]): Binding[Unit]

    The underlying implementation of foreach.

    The underlying implementation of foreach.

    Definition Classes
    BindingSeq
    Annotations
    @inline()
    Note

    Don't use this method in user code.

  23. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from FlatMap[A, B] to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  26. def isEmpty: Binding[Boolean]

    Definition Classes
    BindingSeq
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. def length: Binding[Int]

    Definition Classes
    BindingSeq
  29. def map[B](f: (B) ⇒ B): BindingSeq[B]

    Returns a BindingSeq that maps each element of this BindingSeq via f

    Returns a BindingSeq that maps each element of this BindingSeq via f

    f

    The mapper function, which may contain magic bind calls.

    Definition Classes
    BindingSeq
    Annotations
    @macroImpl( ... )
  30. final def mapBinding[B](f: (B) ⇒ Binding[B]): BindingSeq[B]

    The underlying implementation of map.

    The underlying implementation of map.

    Definition Classes
    BindingSeq
    Annotations
    @inline()
    Note

    Don't use this method in user code.

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

    Definition Classes
    AnyRef
  32. def nonEmpty: Binding[Boolean]

    Definition Classes
    BindingSeq
  33. final def notify(): Unit

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

    Definition Classes
    AnyRef
  35. def removePatchedListener(listener: PatchedListener[B]): Unit

    Attributes
    protected
    Definition Classes
    FlatMapBindingSeq
    Annotations
    @inline()
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. final def unwatch(): Unit

    Disables automatic recalculation.

    Disables automatic recalculation.

    Definition Classes
    BindingSeq
    Annotations
    @inline()
    Note

    This method is recursive, which means that the dependencies of this BindingSeq will be unwatched as well.

  39. def value: FlatProxy[B]

    Returns the current value of this BindingSeq.

    Returns the current value of this BindingSeq.

    Attributes
    protected
    Definition Classes
    FlatMapBindingSeq
    Annotations
    @inline()
  40. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def watch(): Unit

    Enables automatic recalculation.

    Enables automatic recalculation.

    You may invoke this method more than once. Then, when you want to disable automatic recalculation, you must invoke unwatch same times as the number of calls to this method.

    Definition Classes
    BindingSeq
    Annotations
    @inline()
    Note

    This method is recursive, which means that the dependencies of this BindingSeq will be watched as well.

  44. def withFilter(condition: (B) ⇒ Boolean): WithFilter

    Returns a view of this BindingSeq that applied a filter of condition

    Returns a view of this BindingSeq that applied a filter of condition

    Definition Classes
    BindingSeq
    Annotations
    @macroImpl( ... )
  45. final def withFilterBinding(condition: (B) ⇒ Binding[Boolean]): WithFilter

    The underlying implementation of withFilter.

    The underlying implementation of withFilter.

    Definition Classes
    BindingSeq
    Annotations
    @inline()
    Note

    Don't use this method in user code.

  46. def [B](y: B): (FlatMap[A, B], B)

    Implicit information
    This member is added by an implicit conversion from FlatMap[A, B] to ArrowAssoc[FlatMap[A, B]] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. final def bind: Seq[B]

    Returns the current value of this Binding and marks the current @dom method depend on this Binding.

    Returns the current value of this Binding and marks the current @dom method depend on this Binding.

    Each time the value changes, in the current @dom method, all code after the current bind expression will be re-evaluated if the current @dom method is watching. However, code in current @dom method and before the current bind expression will not be re-evaluated. The above rule is not applied to DOM nodes created by XHTML literal. A bind expression under a DOM node does not affect siblings and parents of that node.

    Implicit information
    This member is added by an implicit conversion from FlatMap[A, B] to AsBinding[B] performed by method AsBinding in com.thoughtworks.binding.Binding.BindingSeq.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (flatMap: AsBinding[B]).bind
    Definition Classes
    Binding
    Annotations
    @macroImpl( ... )
    Note

    This method must be invoked inside a @dom method body or a Binding { ... } block..

  2. final def bind: Seq[B]

    Returns the current value of this Binding and marks the current @dom method depend on this Binding.

    Returns the current value of this Binding and marks the current @dom method depend on this Binding.

    Each time the value changes, in the current @dom method, all code after the current bind expression will be re-evaluated if the current @dom method is watching. However, code in current @dom method and before the current bind expression will not be re-evaluated. The above rule is not applied to DOM nodes created by XHTML literal. A bind expression under a DOM node does not affect siblings and parents of that node.

    Implicit information
    This member is added by an implicit conversion from FlatMap[A, B] to AsBinding[B] performed by method AsBinding in com.thoughtworks.binding.Binding.BindingSeq.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (flatMap: AsBinding[B]).bind
    Definition Classes
    Binding
    Annotations
    @macroImpl( ... )
    Note

    This method must be invoked inside a @dom method body or a Binding { ... } block..

  3. val self: Any

    Implicit information
    This member is added by an implicit conversion from FlatMap[A, B] to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (flatMap: StringAdd).self
    Definition Classes
    StringAdd
  4. val self: Any

    Implicit information
    This member is added by an implicit conversion from FlatMap[A, B] to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (flatMap: StringFormat).self
    Definition Classes
    StringFormat
  5. final def unwatch(): Unit

    Disable automatic recalculation.

    Disable automatic recalculation.

    Implicit information
    This member is added by an implicit conversion from FlatMap[A, B] to AsBinding[B] performed by method AsBinding in com.thoughtworks.binding.Binding.BindingSeq.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (flatMap: AsBinding[B]).unwatch()
    Definition Classes
    Binding
    Annotations
    @inline()
    Note

    This method is recursive, which means that the dependencies of this Binding will be unwatched as well.

  6. final def unwatch(): Unit

    Disable automatic recalculation.

    Disable automatic recalculation.

    Implicit information
    This member is added by an implicit conversion from FlatMap[A, B] to AsBinding[B] performed by method AsBinding in com.thoughtworks.binding.Binding.BindingSeq.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (flatMap: AsBinding[B]).unwatch()
    Definition Classes
    Binding
    Annotations
    @inline()
    Note

    This method is recursive, which means that the dependencies of this Binding will be unwatched as well.

  7. final def watch(): Unit

    Enable automatic recalculation.

    Enable automatic recalculation.

    You may invoke this method more than once. Then, when you want to disable automatic recalculation, you must invoke unwatch same times as the number of calls to this method.

    Implicit information
    This member is added by an implicit conversion from FlatMap[A, B] to AsBinding[B] performed by method AsBinding in com.thoughtworks.binding.Binding.BindingSeq.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (flatMap: AsBinding[B]).watch()
    Definition Classes
    Binding
    Annotations
    @inline()
    Note

    This method is recursive, which means that the dependencies of this Binding will be watched as well.

  8. final def watch(): Unit

    Enable automatic recalculation.

    Enable automatic recalculation.

    You may invoke this method more than once. Then, when you want to disable automatic recalculation, you must invoke unwatch same times as the number of calls to this method.

    Implicit information
    This member is added by an implicit conversion from FlatMap[A, B] to AsBinding[B] performed by method AsBinding in com.thoughtworks.binding.Binding.BindingSeq.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (flatMap: AsBinding[B]).watch()
    Definition Classes
    Binding
    Annotations
    @inline()
    Note

    This method is recursive, which means that the dependencies of this Binding will be watched as well.

Deprecated Value Members

  1. final def each: Seq[B]

    Implicit information
    This member is added by an implicit conversion from FlatMap[A, B] to AsBinding[B] performed by method AsBinding in com.thoughtworks.binding.Binding.BindingSeq.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (flatMap: AsBinding[B]).each
    Definition Classes
    Binding
    Annotations
    @macroImpl( ... ) @deprecated
    Deprecated

    (Since version 7.0.0) Use bind instead

  2. final def each: Seq[B]

    Implicit information
    This member is added by an implicit conversion from FlatMap[A, B] to AsBinding[B] performed by method AsBinding in com.thoughtworks.binding.Binding.BindingSeq.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (flatMap: AsBinding[B]).each
    Definition Classes
    Binding
    Annotations
    @macroImpl( ... ) @deprecated
    Deprecated

    (Since version 7.0.0) Use bind instead

  3. def x: FlatMap[A, B]

    Implicit information
    This member is added by an implicit conversion from FlatMap[A, B] to ArrowAssoc[FlatMap[A, B]] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (flatMap: ArrowAssoc[FlatMap[A, B]]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  4. def x: FlatMap[A, B]

    Implicit information
    This member is added by an implicit conversion from FlatMap[A, B] to Ensuring[FlatMap[A, B]] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (flatMap: Ensuring[FlatMap[A, B]]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from HasCache[BindingSeq[B]]

Inherited from BindingSeq[B]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion AsBinding from FlatMap[A, B] to AsBinding[B]

Inherited by implicit conversion AsBinding from FlatMap[A, B] to AsBinding[B]

Inherited by implicit conversion any2stringadd from FlatMap[A, B] to StringAdd

Inherited by implicit conversion any2stringfmt from FlatMap[A, B] to StringFormat

Inherited by implicit conversion any2ArrowAssoc from FlatMap[A, B] to ArrowAssoc[FlatMap[A, B]]

Inherited by implicit conversion any2Ensuring from FlatMap[A, B] to Ensuring[FlatMap[A, B]]

Ungrouped