Scala Library


scala/runtime/RichBoolean.scala
]
final
class
RichBoolean(x : Boolean)
extends
Proxy with
Ordered[Boolean]Method Summary  
def

compare
(y : Boolean) : Int
Result of comparing
this with operand that .
returns x where
x < 0 iff this < that
x == 0 iff this == that
x > 0 iff this > that 
def

self : Any 
Methods inherited from Ordered  
<, >, <=, >=, compareTo 
Methods inherited from Proxy  
hashCode, equals, toString 
Methods inherited from AnyRef  
getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized 
Methods inherited from Any  
==, !=, isInstanceOf, asInstanceOf 
Method Details 
def
self : Any
this
with operand that
.
returns x
where
x < 0
iff this < that
x == 0
iff this == that
x > 0
iff this > that
Scala Library

