Scala Library
|
|
scala/runtime/RichInt.scala
]
final
class
RichInt(val
start : Int)
extends
Proxy with
Ordered[Int]Method Summary | |
def
|
abs : Int |
def
|
compare
(that : Int) : 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
|
max (that : Int) : Int |
def
|
min (that : Int) : Int |
def
|
self : Any |
def
|
to (end : Int, step : Int) : Inclusive |
def
|
to
(end : Int) : Inclusive with ByOne
like
until , but includes the last index |
def
|
toBinaryString : java.lang.String |
def
|
toHexString : java.lang.String |
def
|
toOctalString : java.lang.String |
def
|
until
(end : Int) : Range with ByOne
|
def
|
until (end : Int, step : Int) : Range |
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
until
, but includes the last index
def
abs : Int
def
toBinaryString : java.lang.String
def
toHexString : java.lang.String
def
toOctalString : java.lang.String
Scala Library
|
|