Packages

c

scail.commons.ops

BooleanOps

implicit final class BooleanOps extends AnyVal

Extension methods for Boolean.

Source
ops.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BooleanOps
  2. AnyVal
  3. Any
Implicitly
  1. by AnyOps
  2. by AnyOps
  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 BooleanOps(value: Boolean)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from BooleanOps to any2stringadd[BooleanOps] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (BooleanOps, B)
    Implicit
    This member is added by an implicit conversion from BooleanOps to ArrowAssoc[BooleanOps] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. def ?[A](true: ⇒ A): Conditional[A]

    Ternary operator.

    Ternary operator.

    A

    the return type of the expression

    returns

    the first parameter if the boolean value is true, the second parameter otherwise

    Example:
    1. cond ? "yes" | "no"
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def asInt: Int

    Converts a boolean value to integer.

    Converts a boolean value to integer.

    returns

    1 if the boolean is true, 0 otherwise

    Annotations
    @inline()
  9. def ensuring(cond: (BooleanOps) ⇒ Boolean, msg: ⇒ Any): BooleanOps
    Implicit
    This member is added by an implicit conversion from BooleanOps to Ensuring[BooleanOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (BooleanOps) ⇒ Boolean): BooleanOps
    Implicit
    This member is added by an implicit conversion from BooleanOps to Ensuring[BooleanOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): BooleanOps
    Implicit
    This member is added by an implicit conversion from BooleanOps to Ensuring[BooleanOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): BooleanOps
    Implicit
    This member is added by an implicit conversion from BooleanOps to Ensuring[BooleanOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from BooleanOps to StringFormat[BooleanOps] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  14. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def thenOption[A](a: ⇒ A): Option[A]

    Optionally returns a value if the boolean expression is true.

    Optionally returns a value if the boolean expression is true.

    A

    the type of value a

    a

    the value to be returned as an Option

    returns

    Option(a) if the boolean expression is true, None otherwise

  17. def toString(): String
    Definition Classes
    Any
  18. def [B](y: B): (BooleanOps, B)
    Implicit
    This member is added by an implicit conversion from BooleanOps to ArrowAssoc[BooleanOps] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def future: Future[BooleanOps]

    Creates an already completed Future containing value.

    Creates an already completed Future containing value.

    returns

    the already completed Future with the specified result

    Implicit
    This member is added by an implicit conversion from BooleanOps to AnyOps[BooleanOps] performed by method AnyOps in scail.commons.ops.
    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:
    (booleanOps: AnyOps[BooleanOps]).future
    Definition Classes
    AnyOps
    Annotations
    @inline()
  2. def future: Future[BooleanOps]

    Creates an already completed Future containing value.

    Creates an already completed Future containing value.

    returns

    the already completed Future with the specified result

    Implicit
    This member is added by an implicit conversion from BooleanOps to AnyOps[BooleanOps] performed by method AnyOps in scail.commons.ops.
    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:
    (booleanOps: AnyOps[BooleanOps]).future
    Definition Classes
    AnyOps
    Annotations
    @inline()
  3. def option: Option[BooleanOps]

    Creates an Option containing value.

    Creates an Option containing value.

    returns

    Some(value) if value is not null, None otherwise

    Implicit
    This member is added by an implicit conversion from BooleanOps to AnyOps[BooleanOps] performed by method AnyOps in scail.commons.ops.
    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:
    (booleanOps: AnyOps[BooleanOps]).option
    Definition Classes
    AnyOps
    Annotations
    @inline()
  4. def option: Option[BooleanOps]

    Creates an Option containing value.

    Creates an Option containing value.

    returns

    Some(value) if value is not null, None otherwise

    Implicit
    This member is added by an implicit conversion from BooleanOps to AnyOps[BooleanOps] performed by method AnyOps in scail.commons.ops.
    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:
    (booleanOps: AnyOps[BooleanOps]).option
    Definition Classes
    AnyOps
    Annotations
    @inline()
  5. def tap(f: (BooleanOps) ⇒ Unit): BooleanOps

    Applies side-effectul method to value, returning value.

    Applies side-effectul method to value, returning value.

    f

    the side-effectful method to apply to value

    returns

    value

    Implicit
    This member is added by an implicit conversion from BooleanOps to AnyOps[BooleanOps] performed by method AnyOps in scail.commons.ops.
    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:
    (booleanOps: AnyOps[BooleanOps]).tap(f)
    Definition Classes
    AnyOps
  6. def tap(f: (BooleanOps) ⇒ Unit): BooleanOps

    Applies side-effectul method to value, returning value.

    Applies side-effectul method to value, returning value.

    f

    the side-effectful method to apply to value

    returns

    value

    Implicit
    This member is added by an implicit conversion from BooleanOps to AnyOps[BooleanOps] performed by method AnyOps in scail.commons.ops.
    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:
    (booleanOps: AnyOps[BooleanOps]).tap(f)
    Definition Classes
    AnyOps

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion AnyOps from BooleanOps to AnyOps[BooleanOps]

Inherited by implicit conversion AnyOps from BooleanOps to AnyOps[BooleanOps]

Inherited by implicit conversion any2stringadd from BooleanOps to any2stringadd[BooleanOps]

Inherited by implicit conversion StringFormat from BooleanOps to StringFormat[BooleanOps]

Inherited by implicit conversion Ensuring from BooleanOps to Ensuring[BooleanOps]

Inherited by implicit conversion ArrowAssoc from BooleanOps to ArrowAssoc[BooleanOps]

Ungrouped