Class

com.thoughtworks.binding.Binding.BindingSeq

MapBinding

Related Doc: package BindingSeq

Permalink

final class MapBinding[A, B] extends BindingSeq[B] with HasCache[Binding[B]]

Source
Binding.scala
Linear Supertypes
HasCache[Binding[B]], BindingSeq[B], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MapBinding
  2. HasCache
  3. BindingSeq
  4. AnyRef
  5. Any
Implicitly
  1. by AsBinding
  2. by AsBinding
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

Type Members

  1. final class WithFilter extends AnyRef

    Permalink

    A helper to build complicated comprehension expressions for BindingSeq

    A helper to build complicated comprehension expressions for BindingSeq

    Definition Classes
    BindingSeq

Value Members

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  6. def addPatchedListener(listener: PatchedListener[B]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    MapBindingBindingSeq
  7. final def all: Binding[Seq[B]]

    Permalink

    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
  8. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

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

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

    Permalink

    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
  18. final def flatMapBinding[B](f: (B) ⇒ Binding[BindingSeq[B]]): BindingSeq[B]

    Permalink

    The underlying implementation of flatMap.

    The underlying implementation of flatMap.

    Definition Classes
    BindingSeq
    Annotations
    @inline()
    Note

    Don't use this method in user code.

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

    Permalink
    Definition Classes
    BindingSeq
  20. def foreachBinding[U](f: (B) ⇒ Binding[U]): Binding[Unit]

    Permalink

    The underlying implementation of foreach.

    The underlying implementation of foreach.

    Definition Classes
    BindingSeq
    Annotations
    @inline()
    Note

    Don't use this method in user code.

  21. def formatted(fmtstr: String): String

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

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

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

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

    Permalink
    Definition Classes
    Any
  26. def length: Binding[Int]

    Permalink
    Definition Classes
    BindingSeq
  27. macro def map[B](f: (B) ⇒ B): BindingSeq[B]

    Permalink

    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
  28. final def mapBinding[B](f: (B) ⇒ Binding[B]): BindingSeq[B]

    Permalink

    The underlying implementation of map.

    The underlying implementation of map.

    Definition Classes
    BindingSeq
    Annotations
    @inline()
    Note

    Don't use this method in user code.

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

    Permalink
    Definition Classes
    AnyRef
  30. def nonEmpty: Binding[Boolean]

    Permalink
    Definition Classes
    BindingSeq
  31. final def notify(): Unit

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    MapBindingBindingSeq
  34. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

    Permalink

    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.

  37. def value: Seq[B]

    Permalink

    Returns the current value of this BindingSeq.

    Returns the current value of this BindingSeq.

    Attributes
    protected
    Definition Classes
    MapBindingBindingSeq
  38. final def wait(): Unit

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

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

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

    Permalink

    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.

  42. macro def withFilter(condition: (B) ⇒ Boolean): WithFilter

    Permalink

    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
  43. final def withFilterBinding(condition: (B) ⇒ Binding[Boolean]): WithFilter

    Permalink

    The underlying implementation of withFilter.

    The underlying implementation of withFilter.

    Definition Classes
    BindingSeq
    Annotations
    @inline()
    Note

    Don't use this method in user code.

  44. def [B](y: B): (MapBinding[A, B], B)

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

Shadowed Implicit Value Members

  1. final macro def bind: Seq[B]

    Permalink

    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 MapBinding[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:
    (mapBinding: AsBinding[B]).bind
    Definition Classes
    Binding
    Note

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

  2. final macro def bind: Seq[B]

    Permalink

    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 MapBinding[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:
    (mapBinding: AsBinding[B]).bind
    Definition Classes
    Binding
    Note

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

  3. final def unwatch(): Unit

    Permalink

    Disable automatic recalculation.

    Disable automatic recalculation.

    Implicit information
    This member is added by an implicit conversion from MapBinding[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:
    (mapBinding: 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.

  4. final def unwatch(): Unit

    Permalink

    Disable automatic recalculation.

    Disable automatic recalculation.

    Implicit information
    This member is added by an implicit conversion from MapBinding[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:
    (mapBinding: 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.

  5. final def watch(): Unit

    Permalink

    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 MapBinding[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:
    (mapBinding: 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.

  6. final def watch(): Unit

    Permalink

    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 MapBinding[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:
    (mapBinding: 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 macro def each: Seq[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from MapBinding[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:
    (mapBinding: AsBinding[B]).each
    Definition Classes
    Binding
    Annotations
    @deprecated
    Deprecated

    (Since version 7.0.0) Use bind instead

  2. final macro def each: Seq[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from MapBinding[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:
    (mapBinding: AsBinding[B]).each
    Definition Classes
    Binding
    Annotations
    @deprecated
    Deprecated

    (Since version 7.0.0) Use bind instead

Inherited from HasCache[Binding[B]]

Inherited from BindingSeq[B]

Inherited from AnyRef

Inherited from Any

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

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

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

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

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

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

Ungrouped