Scala Library Documentation


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

compare
(y : Short) : 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 Documentation

