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
Implicitly
  1. by eachOps
  2. by eachOps
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  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. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Constant[A] to any2stringadd[Constant[A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Constant[A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Constant[A] to ArrowAssoc[Constant[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    Any
  7. def ensuring(cond: (Constant[A]) ⇒ Boolean, msg: ⇒ Any): Constant[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Constant[A] to Ensuring[Constant[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  8. def ensuring(cond: (Constant[A]) ⇒ Boolean): Constant[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Constant[A] to Ensuring[Constant[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: Boolean, msg: ⇒ Any): Constant[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Constant[A] to Ensuring[Constant[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean): Constant[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Constant[A] to Ensuring[Constant[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Constant[A] to StringFormat[Constant[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  12. val get: A

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

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

    Permalink
    Definition Classes
    Any
  15. 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.

  16. 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.

  17. def [B](y: B): (Constant[A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Constant[A] to ArrowAssoc[Constant[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def each: A

    Permalink
    Implicit information
    This member is added by an implicit conversion from Constant[A] to EachOps[Binding, A] performed by method eachOps in com.thoughtworks.binding.Binding.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (constant: EachOps[Binding, A]).each
    Definition Classes
    EachOps
    Annotations
    @compileTimeOnly( ... )
  2. def each: A

    Permalink
    Implicit information
    This member is added by an implicit conversion from Constant[A] to EachOps[Binding, A] performed by method eachOps in com.thoughtworks.binding.Binding.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (constant: EachOps[Binding, A]).each
    Definition Classes
    EachOps
    Annotations
    @compileTimeOnly( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Binding[A]

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion eachOps from Constant[A] to EachOps[Binding, A]

Inherited by implicit conversion eachOps from Constant[A] to EachOps[Binding, A]

Inherited by implicit conversion any2stringadd from Constant[A] to any2stringadd[Constant[A]]

Inherited by implicit conversion StringFormat from Constant[A] to StringFormat[Constant[A]]

Inherited by implicit conversion Ensuring from Constant[A] to Ensuring[Constant[A]]

Inherited by implicit conversion ArrowAssoc from Constant[A] to ArrowAssoc[Constant[A]]

Ungrouped