Packages

c

com.thoughtworks.binding.Binding

SingletonBindingSeq

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. Product
  4. Equals
  5. BindingSeq
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

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

Type Members

  1. final class WithFilter extends AnyRef

    A helper to build complicated comprehension expressions for BindingSeq

    A helper to build complicated comprehension expressions for BindingSeq

    Definition Classes
    BindingSeq
  2. type All[+A] = IndexedSeq[A]

    The value type of all

    The value type of all

    Definition Classes
    SingletonBindingSeqBindingSeq

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from SingletonBindingSeq[A] toany2stringadd[SingletonBindingSeq[A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (SingletonBindingSeq[A], B)
    Implicit
    This member is added by an implicit conversion from SingletonBindingSeq[A] toArrowAssoc[SingletonBindingSeq[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def addPatchedListener(listener: PatchedListener[A]): Unit
    Attributes
    protected
    Definition Classes
    SingletonBindingSeqBindingSeq
    Annotations
    @inline()
  7. final def all: Binding[All[A]]

    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
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. def ensuring(cond: (SingletonBindingSeq[A]) => Boolean, msg: => Any): SingletonBindingSeq[A]
    Implicit
    This member is added by an implicit conversion from SingletonBindingSeq[A] toEnsuring[SingletonBindingSeq[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (SingletonBindingSeq[A]) => Boolean): SingletonBindingSeq[A]
    Implicit
    This member is added by an implicit conversion from SingletonBindingSeq[A] toEnsuring[SingletonBindingSeq[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: => Any): SingletonBindingSeq[A]
    Implicit
    This member is added by an implicit conversion from SingletonBindingSeq[A] toEnsuring[SingletonBindingSeq[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): SingletonBindingSeq[A]
    Implicit
    This member is added by an implicit conversion from SingletonBindingSeq[A] toEnsuring[SingletonBindingSeq[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. macro def flatMap[B](f: (A) => 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
  16. final def flatMapBinding[B](f: (A) => 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.

  17. macro def foreach[U](f: (A) => U): Unit
    Definition Classes
    BindingSeq
  18. def foreachBinding[U](f: (A) => 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.

  19. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from SingletonBindingSeq[A] toStringFormat[SingletonBindingSeq[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def isEmpty: Binding[Boolean]
    Definition Classes
    BindingSeq
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def length: Constant[Int]
    Definition Classes
    SingletonBindingSeqBindingSeq
  24. macro def map[B](f: (A) => 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
  25. final def mapBinding[B](f: (A) => 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.

  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def nonEmpty: Binding[Boolean]
    Definition Classes
    BindingSeq
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. def productElementNames: Iterator[String]
    Definition Classes
    Product
  31. def removePatchedListener(listener: PatchedListener[A]): Unit
    Attributes
    protected
    Definition Classes
    SingletonBindingSeqBindingSeq
    Annotations
    @inline()
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. 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.

  34. val upstream: Binding[A]
  35. def value: SingleSeq[A]

    Returns the current value of this BindingSeq.

    Returns the current value of this BindingSeq.

    Attributes
    protected
    Definition Classes
    SingletonBindingSeqBindingSeq
    Annotations
    @inline()
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. 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.

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

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def [B](y: B): (SingletonBindingSeq[A], B)
    Implicit
    This member is added by an implicit conversion from SingletonBindingSeq[A] toArrowAssoc[SingletonBindingSeq[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from BindingSeq[A]

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped