Class

com.thoughtworks.binding.Binding

Constants

Related Doc: package Binding

Permalink

final case class Constants[+A](get: A*) extends AnyVal with BindingSeq[A] with Product with Serializable

An data binding expression of sequence that never changes.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Constants
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. BindingSeq
  7. Binding
  8. AnyVal
  9. Any
Implicitly
  1. by eachOps
  2. by CollectionsHaveToParArray
  3. by eachOps
  4. by any2stringadd
  5. by StringFormat
  6. by Ensuring
  7. by ArrowAssoc
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Constants(get: A*)

    Permalink

Type Members

  1. final class WithFilter extends AnyRef

    Permalink

    A helper to build complicated comprehension expressions for BindingSeq

    A helper to build complicated comprehension expressions for BindingSeq

    Definition Classes
    BindingSeq

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 Constants[A] to any2stringadd[Constants[A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Constants[A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Constants[A] to ArrowAssoc[Constants[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: (Constants[A]) ⇒ Boolean, msg: ⇒ Any): Constants[A]

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

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

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from Constants[A] to Ensuring[Constants[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. macro def flatMap[B](f: (A) ⇒ BindingSeq[B]): BindingSeq[B]

    Permalink

    Returns a BindingSeq that flat-maps each element of this BindingSeq via f

    Returns a BindingSeq that flat-maps each element of this BindingSeq via f

    Definition Classes
    BindingSeq
    Note

    This method is only available in a monadic[Binding] block or a @dom method.

  12. final def flatMapBinding[B](f: (A) ⇒ Binding[BindingSeq[B]]): BindingSeq[B]

    Permalink

    Underlying implementation of #flatMap.

    Underlying implementation of #flatMap.

    Definition Classes
    BindingSeq
    Annotations
    @inline()
    Note

    Don't use this method in user code.

  13. def formatted(fmtstr: String): String

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

    Permalink
    Definition Classes
    ConstantsBinding
  15. def getClass(): Class[_ <: AnyVal]

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

    Permalink
    Definition Classes
    Any
  17. macro def map[B](f: (A) ⇒ B): BindingSeq[B]

    Permalink

    Returns a BindingSeq that maps each element of this BindingSeq via f

    Returns a BindingSeq that maps each element of this BindingSeq via f

    Definition Classes
    BindingSeq
    Note

    This method is only available in a monadic[Binding] block or a @dom method.

  18. final def mapBinding[B](f: (A) ⇒ Binding[B]): BindingSeq[B]

    Permalink

    Underlying implementation of #map.

    Underlying implementation of #map.

    Definition Classes
    BindingSeq
    Annotations
    @inline()
    Note

    Don't use this method in user code.

  19. def toParArray: ParArray[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Constants[A] to CollectionsHaveToParArray[Constants[A], T] performed by method CollectionsHaveToParArray in scala.collection.parallel. This conversion will take place only if an implicit value of type (Constants[A]) ⇒ GenTraversableOnce[T] is in scope.
    Definition Classes
    CollectionsHaveToParArray
  20. 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.

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

  22. macro def withFilter(condition: (A) ⇒ Boolean): WithFilter

    Permalink

    Returns a view of this BindingSeq that applied a filter of condition

    Returns a view of this BindingSeq that applied a filter of condition

    Definition Classes
    BindingSeq
  23. final def withFilterBinding(condition: (A) ⇒ Binding[Boolean]): WithFilter

    Permalink

    Underlying implementation of #withFilter.

    Underlying implementation of #withFilter.

    Definition Classes
    BindingSeq
    Annotations
    @inline()
    Note

    Don't use this method in user code.

  24. def [B](y: B): (Constants[A], B)

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

Shadowed Implicit Value Members

  1. def each: Seq[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Constants[A] to EachOps[Binding, Seq[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:
    (constants: EachOps[Binding, Seq[A]]).each
    Definition Classes
    EachOps
    Annotations
    @compileTimeOnly( ... )
  2. def each: Seq[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Constants[A] to EachOps[Binding, Seq[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:
    (constants: EachOps[Binding, Seq[A]]).each
    Definition Classes
    EachOps
    Annotations
    @compileTimeOnly( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from BindingSeq[A]

Inherited from Binding[Seq[A]]

Inherited from AnyVal

Inherited from Any

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

Inherited by implicit conversion CollectionsHaveToParArray from Constants[A] to CollectionsHaveToParArray[Constants[A], T]

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

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

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

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

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

Ungrouped