Scala Standard Library 2.13.3 - scala.Predef.Ensuring (original) (raw)
implicit final class Ensuring[A] extends AnyVal
Ordering
- Alphabetic
- By Inheritance
Inherited
- Ensuring
- AnyVal
- Any
Implicitly
by any2stringadd
by StringFormat
by ArrowAssoc
by any2stringadd
by StringFormat
by ArrowAssoc
Hide All
Show All
Visibility
- Public
- Protected
Instance Constructors
- new Ensuring(self: A)
Value Members
- final def !=(arg0: Any): Boolean
Test two objects for inequality. - final def ##: Int
Equivalent tox.hashCodeexcept for boxed numeric types andnull. - final def ==(arg0: Any): Boolean
Test two objects for equality. - final def asInstanceOf[T0]: T0
Cast the receiver object to be of typeT0. - def ensuring(cond: (A) => Boolean, msg: => Any): A
- def ensuring(cond: (A) => Boolean): A
- def ensuring(cond: Boolean, msg: => Any): A
- def ensuring(cond: Boolean): A
- def getClass(): Class[_ <: AnyVal]
Returns the runtime class representation of the object. - final def isInstanceOf[T0]: Boolean
Test whether the dynamic type of the receiver object isT0. - def toString(): java.lang.String
Returns a string representation of the object.
Shadowed Implicit Value Members
- def +(other: String): String
- def +(other: String): String
- def ->[B](y: B): (Ensuring[A], B)
- def ->[B](y: B): (Ensuring[A], B)
- def formatted(fmtstr: String): String
Returns string formatted according to givenformatstring. - def formatted(fmtstr: String): String
Returns string formatted according to givenformatstring.
Deprecated Value Members
Ungrouped
Scala programming documentation. Copyright (c) 2002-2020 EPFL and Lightbend.