Scala Library Documentation
|
|
scala/Predef.scala
]
object
Predef
extends
AnyRefPredef
object provides definitions that are
accessible in all Scala compilation units without explicit
qualification.Type Summary | |
type
|
All |
type
|
AllRef |
type
|
ArrayIndexOutOfBoundsException |
type
|
Class |
type
|
ClassCastException |
type
|
Error |
type
|
Exception |
type
|
Function |
type
|
IllegalArgumentException |
type
|
IndexOutOfBoundsException |
type
|
Map |
type
|
NoSuchElementException |
type
|
NullPointerException |
type
|
NumberFormatException |
type
|
Pair |
type
|
Runnable |
type
|
RuntimeException |
type
|
Set |
type
|
String |
type
|
StringBuilder |
type
|
Throwable |
type
|
Triple |
type
|
UnsupportedOperationException |
type
|
boolean |
type
|
byte |
type
|
char |
type
|
double |
type
|
float |
type
|
int |
type
|
long |
type
|
short |
type
|
unit |
Value Summary | |
val
|
Map : Map |
val
|
Set : Set |
Method Summary | |
def
|
Tuple [a1, a2](x1 : a1, x2 : a2) : (a1, a2) |
def
|
Tuple [a1, a2, a3, a4, a5](x1 : a1, x2 : a2, x3 : a3, x4 : a4, x5 : a5) : (a1, a2, a3, a4, a5) |
def
|
Tuple [a1, a2, a3, a4, a5, a6, a7, a8](x1 : a1, x2 : a2, x3 : a3, x4 : a4, x5 : a5, x6 : a6, x7 : a7, x8 : a8) : (a1, a2, a3, a4, a5, a6, a7, a8) |
def
|
Tuple [a1](x1 : a1) : (a1) |
def
|
Tuple [a1, a2, a3, a4, a5, a6](x1 : a1, x2 : a2, x3 : a3, x4 : a4, x5 : a5, x6 : a6) : (a1, a2, a3, a4, a5, a6) |
def
|
Tuple [a1, a2, a3, a4, a5, a6, a7, a8, a9](x1 : a1, x2 : a2, x3 : a3, x4 : a4, x5 : a5, x6 : a6, x7 : a7, x8 : a8, x9 : a9) : (a1, a2, a3, a4, a5, a6, a7, a8, a9) |
def
|
Tuple [a1, a2, a3](x1 : a1, x2 : a2, x3 : a3) : (a1, a2, a3) |
def
|
Tuple [a1, a2, a3, a4, a5, a6, a7](x1 : a1, x2 : a2, x3 : a3, x4 : a4, x5 : a5, x6 : a6, x7 : a7) : (a1, a2, a3, a4, a5, a6, a7) |
def
|
Tuple [a1, a2, a3, a4](x1 : a1, x2 : a2, x3 : a3, x4 : a4) : (a1, a2, a3, a4) |
implicit def
|
any2ArrowAssoc [a](x : a) : ArrowAssoc[a] |
implicit def
|
any2stringadd (x : Any) : StringAdd |
def
|
assert (assertion : Boolean, message : Any) : Unit |
def
|
assert (assertion : Boolean) : Unit |
def
|
assume (assumption : Boolean) : Unit |
def
|
assume (assumption : Boolean, message : Any) : Unit |
implicit def
|
boolean2Boolean (x : Boolean) : Boolean |
implicit def
|
booleanWrapper (x : Boolean) : RichBoolean |
implicit def
|
byte2Byte (x : Byte) : Byte |
implicit def
|
byte2double (x : Byte) : Double |
implicit def
|
byte2float (x : Byte) : Float |
implicit def
|
byte2int (x : Byte) : Int |
implicit def
|
byte2long (x : Byte) : Long |
implicit def
|
byte2short (x : Byte) : Short |
implicit def
|
byteWrapper (x : Byte) : RichByte |
implicit def
|
char2Character (x : Char) : Character |
implicit def
|
char2double (x : Char) : Double |
implicit def
|
char2float (x : Char) : Float |
implicit def
|
char2int (x : Char) : Int |
implicit def
|
char2long (x : Char) : Long |
implicit def
|
charWrapper (c : Char) : RichChar |
def
|
classOf
[T] : Class
Return the runtime representation of a class type.
|
def
|
currentThread : Thread |
implicit def
|
double2Double (x : Double) : Double |
implicit def
|
doubleWrapper (x : Double) : RichDouble |
def
|
error (message : String) : Nothing |
implicit def
|
exceptionWrapper (exc : Throwable) : RichException |
def
|
exit : Nothing |
def
|
exit (status : Int) : Nothing |
implicit def
|
float2Float (x : Float) : Float |
implicit def
|
float2double (x : Float) : Double |
implicit def
|
floatWrapper (x : Float) : RichFloat |
def
|
format (text : String, xs : Any*) : Unit |
implicit def
|
identity [a](x : a) : a |
implicit def
|
int2Integer (x : Int) : Integer |
implicit def
|
int2double (x : Int) : Double |
implicit def
|
int2float (x : Int) : Float |
implicit def
|
int2long (x : Int) : Long |
implicit def
|
intWrapper (x : Int) : RichInt |
implicit def
|
iterable2ordered
[a](xs : Iterable[a])(implicit view$0 : (a) => Ordered[a]) : Ordered[Iterable[a]]
|
implicit def
|
long2Long (x : Long) : Long |
implicit def
|
long2double (x : Long) : Double |
implicit def
|
long2float (x : Long) : Float |
implicit def
|
longWrapper (x : Long) : RichLong |
def
|
print (x : Any) : Unit |
def
|
printf (text : String, xs : Any*) : Unit |
def
|
println : Unit |
def
|
println (x : Any) : Unit |
def
|
readBoolean : Boolean |
def
|
readByte : Byte |
def
|
readChar : Char |
def
|
readDouble : Double |
def
|
readFloat : Float |
def
|
readInt : Int |
def
|
readLine (text : String, args : Any*) : String |
def
|
readLine : String |
def
|
readLong : Long |
def
|
readShort : Short |
def
|
readf (format : String) : List[Any] |
def
|
readf1 (format : String) : Any |
def
|
readf2 (format : String) : (Any, Any) |
def
|
readf3 (format : String) : (Any, Any, Any) |
implicit def
|
short2Short (x : Short) : Short |
implicit def
|
short2double (x : Short) : Double |
implicit def
|
short2float (x : Short) : Float |
implicit def
|
short2int (x : Short) : Int |
implicit def
|
short2long (x : Short) : Long |
implicit def
|
shortWrapper (x : Short) : RichShort |
implicit def
|
stringWrapper (x : String) : RichString |
implicit def
|
tuple22ordered
[a1, a2](x : (a1, a2))(implicit view$1 : (a1) => Ordered[a1], implicit view$2 : (a2) => Ordered[a2]) : Ordered[(a1, a2)]
|
implicit def
|
tuple32ordered
[a1, a2, a3](x : (a1, a2, a3))(implicit view$3 : (a1) => Ordered[a1], implicit view$4 : (a2) => Ordered[a2], implicit view$5 : (a3) => Ordered[a3]) : Ordered[(a1, a2, a3)]
|
implicit def
|
tuple42ordered
[a1, a2, a3, a4](x : (a1, a2, a3, a4))(implicit view$6 : (a1) => Ordered[a1], implicit view$7 : (a2) => Ordered[a2], implicit view$8 : (a3) => Ordered[a3], implicit view$9 : (a4) => Ordered[a4]) : Ordered[(a1, a2, a3, a4)]
|
implicit def
|
tuple52ordered
[a1, a2, a3, a4, a5](x : (a1, a2, a3, a4, a5))(implicit view$10 : (a1) => Ordered[a1], implicit view$11 : (a2) => Ordered[a2], implicit view$12 : (a3) => Ordered[a3], implicit view$13 : (a4) => Ordered[a4], implicit view$14 : (a5) => Ordered[a5]) : Ordered[(a1, a2, a3, a4, a5)]
|
implicit def
|
tuple62ordered
[a1, a2, a3, a4, a5, a6](x : (a1, a2, a3, a4, a5, a6))(implicit view$15 : (a1) => Ordered[a1], implicit view$16 : (a2) => Ordered[a2], implicit view$17 : (a3) => Ordered[a3], implicit view$18 : (a4) => Ordered[a4], implicit view$19 : (a5) => Ordered[a5], implicit view$20 : (a6) => Ordered[a6]) : Ordered[(a1, a2, a3, a4, a5, a6)]
|
implicit def
|
tuple72ordered
[a1, a2, a3, a4, a5, a6, a7](x : (a1, a2, a3, a4, a5, a6, a7))(implicit view$21 : (a1) => Ordered[a1], implicit view$22 : (a2) => Ordered[a2], implicit view$23 : (a3) => Ordered[a3], implicit view$24 : (a4) => Ordered[a4], implicit view$25 : (a5) => Ordered[a5], implicit view$26 : (a6) => Ordered[a6], implicit view$27 : (a7) => Ordered[a7]) : Ordered[(a1, a2, a3, a4, a5, a6, a7)]
|
implicit def
|
tuple82ordered
[a1, a2, a3, a4, a5, a6, a7, a8](x : (a1, a2, a3, a4, a5, a6, a7, a8))(implicit view$28 : (a1) => Ordered[a1], implicit view$29 : (a2) => Ordered[a2], implicit view$30 : (a3) => Ordered[a3], implicit view$31 : (a4) => Ordered[a4], implicit view$32 : (a5) => Ordered[a5], implicit view$33 : (a6) => Ordered[a6], implicit view$34 : (a7) => Ordered[a7], implicit view$35 : (a8) => Ordered[a8]) : Ordered[(a1, a2, a3, a4, a5, a6, a7, a8)]
|
implicit def
|
tuple92ordered
[a1, a2, a3, a4, a5, a6, a7, a8, a9](x : (a1, a2, a3, a4, a5, a6, a7, a8, a9))(implicit view$36 : (a1) => Ordered[a1], implicit view$37 : (a2) => Ordered[a2], implicit view$38 : (a3) => Ordered[a3], implicit view$39 : (a4) => Ordered[a4], implicit view$40 : (a5) => Ordered[a5], implicit view$41 : (a6) => Ordered[a6], implicit view$42 : (a7) => Ordered[a7], implicit view$43 : (a8) => Ordered[a8], implicit view$44 : (a9) => Ordered[a9]) : Ordered[(a1, a2, a3, a4, a5, a6, a7, a8, a9)]
|
implicit def
|
unit2ordered (x : Unit) : Ordered[Unit] |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Class Summary | |
class
|
ArrowAssoc
[a](x : a) extends AnyRef
|
Object Summary | |
object
|
Pair
extends AnyRef
|
object
|
Triple
extends AnyRef
|
Type Details |
type
byte
type
short
type
char
type
int
type
long
type
float
type
double
type
boolean
type
unit
type
All
type
AllRef
type
String
type
StringBuilder
type
Class
type
Runnable
type
Throwable
type
Exception
type
Error
type
RuntimeException
type
NullPointerException
type
ClassCastException
type
IndexOutOfBoundsException
type
ArrayIndexOutOfBoundsException
type
UnsupportedOperationException
type
IllegalArgumentException
type
NoSuchElementException
type
NumberFormatException
type
Function
type
Map
type
Set
type
Pair
type
Triple
Value Details |
Method Details |
def
classOf[T] : Class
def
exit : Nothing
implicit
def
any2ArrowAssoc[a](x : a) : ArrowAssoc[a]
def
Tuple[a1, a2, a3, a4, a5, a6](x1 : a1, x2 : a2, x3 : a3, x4 : a4, x5 : a5, x6 : a6) : (a1, a2, a3, a4, a5, a6)
def
Tuple[a1, a2, a3, a4, a5, a6, a7](x1 : a1, x2 : a2, x3 : a3, x4 : a4, x5 : a5, x6 : a6, x7 : a7) : (a1, a2, a3, a4, a5, a6, a7)
def
Tuple[a1, a2, a3, a4, a5, a6, a7, a8](x1 : a1, x2 : a2, x3 : a3, x4 : a4, x5 : a5, x6 : a6, x7 : a7, x8 : a8) : (a1, a2, a3, a4, a5, a6, a7, a8)
def
Tuple[a1, a2, a3, a4, a5, a6, a7, a8, a9](x1 : a1, x2 : a2, x3 : a3, x4 : a4, x5 : a5, x6 : a6, x7 : a7, x8 : a8, x9 : a9) : (a1, a2, a3, a4, a5, a6, a7, a8, a9)
def
println : Unit
def
readLine : String
def
readBoolean : Boolean
def
readByte : Byte
def
readShort : Short
def
readChar : Char
def
readInt : Int
def
readLong : Long
def
readFloat : Float
def
readDouble : Double
implicit
def
doubleWrapper(x : Double) : RichDouble
implicit
def
booleanWrapper(x : Boolean) : RichBoolean
implicit
def
stringWrapper(x : String) : RichString
implicit
def
exceptionWrapper(exc : Throwable) : RichException
implicit
def
iterable2ordered[a](xs : Iterable[a])(implicit
view$0 : (a) => Ordered[a]) : Ordered[Iterable[a]]
implicit
def
tuple22ordered[a1, a2](x : (a1, a2))(implicit
view$1 : (a1) => Ordered[a1], implicit
view$2 : (a2) => Ordered[a2]) : Ordered[(a1, a2)]
implicit
def
tuple32ordered[a1, a2, a3](x : (a1, a2, a3))(implicit
view$3 : (a1) => Ordered[a1], implicit
view$4 : (a2) => Ordered[a2], implicit
view$5 : (a3) => Ordered[a3]) : Ordered[(a1, a2, a3)]
implicit
def
tuple42ordered[a1, a2, a3, a4](x : (a1, a2, a3, a4))(implicit
view$6 : (a1) => Ordered[a1], implicit
view$7 : (a2) => Ordered[a2], implicit
view$8 : (a3) => Ordered[a3], implicit
view$9 : (a4) => Ordered[a4]) : Ordered[(a1, a2, a3, a4)]
implicit
def
tuple52ordered[a1, a2, a3, a4, a5](x : (a1, a2, a3, a4, a5))(implicit
view$10 : (a1) => Ordered[a1], implicit
view$11 : (a2) => Ordered[a2], implicit
view$12 : (a3) => Ordered[a3], implicit
view$13 : (a4) => Ordered[a4], implicit
view$14 : (a5) => Ordered[a5]) : Ordered[(a1, a2, a3, a4, a5)]
implicit
def
tuple62ordered[a1, a2, a3, a4, a5, a6](x : (a1, a2, a3, a4, a5, a6))(implicit
view$15 : (a1) => Ordered[a1], implicit
view$16 : (a2) => Ordered[a2], implicit
view$17 : (a3) => Ordered[a3], implicit
view$18 : (a4) => Ordered[a4], implicit
view$19 : (a5) => Ordered[a5], implicit
view$20 : (a6) => Ordered[a6]) : Ordered[(a1, a2, a3, a4, a5, a6)]
implicit
def
tuple72ordered[a1, a2, a3, a4, a5, a6, a7](x : (a1, a2, a3, a4, a5, a6, a7))(implicit
view$21 : (a1) => Ordered[a1], implicit
view$22 : (a2) => Ordered[a2], implicit
view$23 : (a3) => Ordered[a3], implicit
view$24 : (a4) => Ordered[a4], implicit
view$25 : (a5) => Ordered[a5], implicit
view$26 : (a6) => Ordered[a6], implicit
view$27 : (a7) => Ordered[a7]) : Ordered[(a1, a2, a3, a4, a5, a6, a7)]
implicit
def
tuple82ordered[a1, a2, a3, a4, a5, a6, a7, a8](x : (a1, a2, a3, a4, a5, a6, a7, a8))(implicit
view$28 : (a1) => Ordered[a1], implicit
view$29 : (a2) => Ordered[a2], implicit
view$30 : (a3) => Ordered[a3], implicit
view$31 : (a4) => Ordered[a4], implicit
view$32 : (a5) => Ordered[a5], implicit
view$33 : (a6) => Ordered[a6], implicit
view$34 : (a7) => Ordered[a7], implicit
view$35 : (a8) => Ordered[a8]) : Ordered[(a1, a2, a3, a4, a5, a6, a7, a8)]
implicit
def
tuple92ordered[a1, a2, a3, a4, a5, a6, a7, a8, a9](x : (a1, a2, a3, a4, a5, a6, a7, a8, a9))(implicit
view$36 : (a1) => Ordered[a1], implicit
view$37 : (a2) => Ordered[a2], implicit
view$38 : (a3) => Ordered[a3], implicit
view$39 : (a4) => Ordered[a4], implicit
view$40 : (a5) => Ordered[a5], implicit
view$41 : (a6) => Ordered[a6], implicit
view$42 : (a7) => Ordered[a7], implicit
view$43 : (a8) => Ordered[a8], implicit
view$44 : (a9) => Ordered[a9]) : Ordered[(a1, a2, a3, a4, a5, a6, a7, a8, a9)]
def
currentThread : Thread
Scala Library Documentation
|
|