scala.Predef

class Ensuring

[source: scala/Predef.scala]

class Ensuring[A](x : A)
extends AnyRef
Method Summary
def ensuring (cond : (A) => Boolean, msg : Any) : A
def ensuring (cond : Boolean, msg : Any) : A
def ensuring (cond : Boolean) : A
def ensuring (cond : (A) => Boolean) : A
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
def ensuring(cond : Boolean) : A

def ensuring(cond : Boolean, msg : Any) : A

def ensuring(cond : (A) => Boolean) : A

def ensuring(cond : (A) => Boolean, msg : Any) : A