Scala Standard Library 2.13.3 - scala.Predef.Ensuring (original) (raw)

implicit final class Ensuring[A] extends AnyVal

Ordering

  1. Alphabetic
  2. By Inheritance

Inherited

  1. Ensuring
  2. AnyVal
  3. Any

Implicitly

  1. by any2stringadd

  2. by StringFormat

  3. by ArrowAssoc

  4. by any2stringadd

  5. by StringFormat

  6. by ArrowAssoc

  7. Hide All

  8. Show All

Visibility

  1. Public
  2. Protected

Instance Constructors

  1. new Ensuring(self: A)

Value Members

  1. final def !=(arg0: Any): Boolean
    Test two objects for inequality.
  2. final def ##: Int
    Equivalent to x.hashCode except for boxed numeric types and null.
  3. final def ==(arg0: Any): Boolean
    Test two objects for equality.
  4. final def asInstanceOf[T0]: T0
    Cast the receiver object to be of type T0.
  5. def ensuring(cond: (A) => Boolean, msg: => Any): A
  6. def ensuring(cond: (A) => Boolean): A
  7. def ensuring(cond: Boolean, msg: => Any): A
  8. def ensuring(cond: Boolean): A
  9. def getClass(): Class[_ <: AnyVal]
    Returns the runtime class representation of the object.
  10. final def isInstanceOf[T0]: Boolean
    Test whether the dynamic type of the receiver object is T0.
  11. def toString(): java.lang.String
    Returns a string representation of the object.

Shadowed Implicit Value Members

  1. def +(other: String): String
  2. def +(other: String): String
  3. def ->[B](y: B): (Ensuring[A], B)
  4. def ->[B](y: B): (Ensuring[A], B)
  5. def formatted(fmtstr: String): String
    Returns string formatted according to given format string.
  6. def formatted(fmtstr: String): String
    Returns string formatted according to given format string.

Deprecated Value Members

  1. def →[B](y: B): (Ensuring[A], B)
  2. def →[B](y: B): (Ensuring[A], B)

Ungrouped

Scala programming documentation. Copyright (c) 2002-2020 EPFL and Lightbend.