|
Scala Library
|
|
scala/runtime/RichInt.scala]
final
class
RichInt(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) : Inclusive
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, step : Int) : Range
See
Iterator.range. |
def
|
until
(end : Int) : Range
See
Iterator.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 > thatIterator.range.Iterator.range.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
|
|