scala.runtime

class RichInt

[source: scala/runtime/RichInt.scala]

final class RichInt(x : Int)
extends Proxy with Ordered[Int]
Method Summary
def abs : Int
def compare (y : 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 (y : Int) : Int
def min (y : Int) : Int
def self : Any
def to (y : Int) : Iterator[Int]
def until (y : Int) : Iterator[Int]
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(y : 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(y : Int) : Iterator[Int]

def to(y : Int) : Iterator[Int]

def min(y : Int) : Int

def max(y : Int) : Int

def abs : Int