Scala Library
|
|
scala/runtime/RichShort.scala
]
final
class
RichShort(start : Short)
extends
Proxy with
Ordered[Short]Method Summary | |
def
|
compare
(that : 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
|
|