MapBinding

com.thoughtworks.binding.Binding$.BindingSeq$.MapBinding
final class MapBinding[A, B](upstream: BindingSeq[A], f: A => Binding[B]) extends BindingSeq[B] with HasCache[Binding[B]]

Attributes

Graph
Supertypes
trait HasCache[Binding[B]]
trait BindingSeq[B]
trait BindingSeq2Or3[B]
trait BindingSeqOrWithFilter[B]
trait Watchable[B]
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Types

type All[+A] = SeqView[A]

The value type of all

The value type of all

Attributes

Value members

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
final def flatMapBinding[B](f: B => 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
def foreachBinding[U](f: B => 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

Attributes

Inherited from:
BindingSeq

Attributes

Inherited from:
BindingSeq
final def mapBinding[B](f: B => 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

Attributes

Inherited from:
BindingSeq
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
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
final def withFilterBinding(condition: B => 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