Class

com.thoughtworks.binding.Binding

SingletonBindingSeq

Related Doc: package Binding

Permalink

final case class SingletonBindingSeq[A](upstream: Binding[A]) extends BindingSeq[A] with Product with Serializable

A BindingSeq that contains only one element

Source
Binding.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SingletonBindingSeq
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. BindingSeq
  7. AnyRef
  8. Any
Implicitly
  1. by AsBinding
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SingletonBindingSeq(upstream: Binding[A])

    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 SingletonBindingSeq[A] to any2stringadd[SingletonBindingSeq[A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (SingletonBindingSeq[A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from SingletonBindingSeq[A] to ArrowAssoc[SingletonBindingSeq[A]] 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[A]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SingletonBindingSeqBindingSeq
    Annotations
    @inline()
  7. final def all: Binding[Seq[A]]

    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. final macro def bind: Seq[A]

    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 SingletonBindingSeq[A] to AsBinding[A] performed by method AsBinding in com.thoughtworks.binding.Binding.BindingSeq.
    Definition Classes
    Binding
    Note

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

  10. def clone(): AnyRef

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

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

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. macro def flatMap[B](f: (A) ⇒ 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: (A) ⇒ 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: (A) ⇒ U): Unit

    Permalink
    Definition Classes
    BindingSeq
  20. def foreachBinding[U](f: (A) ⇒ 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 SingletonBindingSeq[A] to StringFormat[SingletonBindingSeq[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  25. def length: Constant[Int]

    Permalink
    Definition Classes
    SingletonBindingSeqBindingSeq
  26. macro def map[B](f: (A) ⇒ 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
  27. final def mapBinding[B](f: (A) ⇒ 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.

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  32. def removePatchedListener(listener: PatchedListener[A]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SingletonBindingSeqBindingSeq
    Annotations
    @inline()
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. 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.

  35. val upstream: Binding[A]

    Permalink
  36. def value: SingleSeq[A]

    Permalink

    Returns the current value of this BindingSeq.

    Returns the current value of this BindingSeq.

    Attributes
    protected
    Definition Classes
    SingletonBindingSeqBindingSeq
    Annotations
    @inline()
  37. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. 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.

  41. macro def withFilter(condition: (A) ⇒ 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
  42. final def withFilterBinding(condition: (A) ⇒ 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.

  43. def [B](y: B): (SingletonBindingSeq[A], B)

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

Shadowed Implicit Value Members

  1. final def unwatch(): Unit

    Permalink

    Disable automatic recalculation.

    Disable automatic recalculation.

    Implicit information
    This member is added by an implicit conversion from SingletonBindingSeq[A] to AsBinding[A] 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:
    (singletonBindingSeq: AsBinding[A]).unwatch()
    Definition Classes
    Binding
    Annotations
    @inline()
    Note

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

  2. 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 SingletonBindingSeq[A] to AsBinding[A] 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:
    (singletonBindingSeq: AsBinding[A]).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[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from SingletonBindingSeq[A] to AsBinding[A] performed by method AsBinding in com.thoughtworks.binding.Binding.BindingSeq.
    Definition Classes
    Binding
    Annotations
    @deprecated
    Deprecated

    (Since version 7.0.0) Use bind instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from BindingSeq[A]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion AsBinding from SingletonBindingSeq[A] to AsBinding[A]

Inherited by implicit conversion any2stringadd from SingletonBindingSeq[A] to any2stringadd[SingletonBindingSeq[A]]

Inherited by implicit conversion StringFormat from SingletonBindingSeq[A] to StringFormat[SingletonBindingSeq[A]]

Inherited by implicit conversion Ensuring from SingletonBindingSeq[A] to Ensuring[SingletonBindingSeq[A]]

Inherited by implicit conversion ArrowAssoc from SingletonBindingSeq[A] to ArrowAssoc[SingletonBindingSeq[A]]

Ungrouped