com.thoughtworks.binding
Members list
Type members
Classlikes
Attributes
- Authors:
-
杨博 (Yang Bo) <[email protected]>
- Companion
- trait
- Source
- Binding.scala
- Supertypes
-
trait Companionclass Objecttrait Matchableclass Any
- Self type
-
Binding.type
A data binding expression that represents a value that automatically recalculates when its dependencies change.
A data binding expression that represents a value that automatically recalculates when its dependencies change.
Attributes
- Authors:
-
杨博 (Yang Bo) <[email protected]>
- Example
-
You may create a data binding expression via
Binding { ??? }
block annotation.val bindingInt: Binding[Int] = Binding { 100 }
A data binding expression may depend on other binding expressions via bind method:
val bindingString: Binding[String] = Binding { bindingInt.bind.toString }
- Companion
- object
- Source
- Binding.scala
- Supertypes
- Known subtypes
Similar to scala.collection.mutable.ArrayBuffer, except that this SafeBuffer allows adding or removing elements via += and -= inside a foreachNonHole() } }">foreach block.
Similar to scala.collection.mutable.ArrayBuffer, except that this SafeBuffer allows adding or removing elements via += and -= inside a foreachNonHole() } }">foreach block.
Attributes
- Note
-
A java.lang.IllegalStateException will be thrown when invoking methods other than += and -= in a foreachNonHole() } }">foreach block.
- Source
- SafeBuffer.scala
- Supertypes
-
trait Buffer[A]trait Shrinkable[A]trait Growable[A]trait Clearabletrait Seq[A]trait Cloneabletrait Seq[A]trait Equalstrait Iterable[A]trait Iterable[A]trait IterableOnce[A]class Objecttrait Matchableclass AnyShow all