Class

com.thoughtworks.binding.Binding

Constant

Related Doc: package Binding

Permalink

final case class Constant[+A](get: A) extends AnyVal with Binding[A] with Product with Serializable

An data binding expression that never changes.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Constant
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Binding
  7. AnyVal
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Constant(get: A)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val get: A

    Permalink
    Definition Classes
    ConstantBinding
  6. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  7. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  8. final def unwatch(): Unit

    Permalink

    Disable automatically re-calculation.

    Disable automatically re-calculation.

    Definition Classes
    Binding
    Annotations
    @inline()
    Note

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

  9. final def watch(): Unit

    Permalink

    Enable automatically re-calculation.

    Enable automatically re-calculation.

    You may invoke this method more than once. Then, when you want to disable automatically re-calculation, you must invoke #unwatch same times as the number of calls to this method.

    Definition Classes
    Binding
    Annotations
    @inline()
    Note

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Binding[A]

Inherited from AnyVal

Inherited from Any

Ungrouped