|
Scala Library Documentation
|
|
java/lang/Number.scala]
abstract
class
Number
extends Serializable
Class Number implements the
boxing/unboxing from/to value types.
Boxing and unboxing enable value types to be treated as objects; they provide a unified view of the type system wherein a value of any type can ultimately be treated as an object.
| Method Summary | |
def
|
byteValue : Byte |
abstract def
|
doubleValue : Double |
abstract def
|
floatValue : Float |
abstract def
|
intValue : Int |
abstract def
|
longValue : Long |
def
|
shortValue : Short |
| Methods inherited from AnyRef | |
| getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Method Details |
abstract
def
intValue : Int
abstract
def
longValue : Long
abstract
def
floatValue : Float
abstract
def
doubleValue : Double
def
byteValue : Byte
def
shortValue : Short
|
Scala Library Documentation
|
|