scala.runtime

class RichInt

[source: 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) : Range
def to (end : Int) : Range
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
See Iterator.range.
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
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

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

def to(end : Int, step : Int) : Range

def min(that : Int) : Int

def max(that : Int) : Int

def abs : Int

def toBinaryString : java.lang.String

def toHexString : java.lang.String

def toOctalString : java.lang.String