SingletonBindingSeq

com.thoughtworks.binding.Binding$.SingletonBindingSeq
final case class SingletonBindingSeq[A](upstream: Binding[A]) extends BindingSeq[A]

A BindingSeq that contains only one element

Attributes

Source:
Binding.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait BindingSeq[A]
trait BindingSeq2Or3[A]
trait BindingSeqOrWithFilter[A]
trait Watchable[A]
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Types

type All[+A] = IndexedSeq[A]

The value type of all

The value type of all

Attributes

Source:
Binding.scala

Value members

Concrete methods

override def length: Constant[Int]

Attributes

Definition Classes
Source:
Binding.scala

Inherited methods

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.

Attributes

Inherited from:
BindingSeq
Source:
Binding.scala
final def flatMapBinding[B](f: A => Binding[BindingSeq[B]]): BindingSeq[B]

The underlying implementation of flatMap.

The underlying implementation of flatMap.

Attributes

Note:

Don't use this method in user code.

Inherited from:
BindingSeq
Source:
Binding.scala
def foreachBinding[U](f: A => Binding[U]): Binding[Unit]

The underlying implementation of foreach.

The underlying implementation of foreach.

Attributes

Note:

Don't use this method in user code.

Inherited from:
BindingSeq
Source:
Binding.scala

Attributes

Inherited from:
BindingSeq
Source:
Binding.scala
final def mapBinding[B](f: A => Binding[B]): BindingSeq[B]

The underlying implementation of map.

The underlying implementation of map.

Attributes

Note:

Don't use this method in user code.

Inherited from:
BindingSeq
Source:
Binding.scala

Attributes

Inherited from:
BindingSeq
Source:
Binding.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def unwatch(): Unit

Disables automatic recalculation.

Disables automatic recalculation.

Attributes

Note:

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

Inherited from:
BindingSeq
Source:
Binding.scala
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.

Attributes

Note:

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

Inherited from:
BindingSeq
Source:
Binding.scala
final def withFilterBinding(condition: A => Binding[Boolean]): WithFilter[A]

The underlying implementation of withFilter.

The underlying implementation of withFilter.

Attributes

Note:

Don't use this method in user code.

Inherited from:
BindingSeq
Source:
Binding.scala