scala.runtime

class RichInt

[source: 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) : Range
like until, but includes the last index
def until (end : Int) : Range
See Iterator.range.
def until (end : Int, step : 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
Overrides
Proxy.self

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
Overrides
Ordered.compare

def until(end : Int) : Range
See Iterator.range.

def until(end : Int, step : Int) : Range
See Iterator.range.

def to(end : Int) : Range
like until, but includes the last index

def min(that : Int) : Int

def max(that : Int) : Int

def abs : Int