|
Scala 2
|
||
object
Predef
extends
java.lang.Object with
ScalaObjectPredef
object provides definitions that are
accessible in all Scala compilation units without explicit
qualification.Constructor Summary | |
def
this
|
Type Summary | |
type
Function
[ a , b ]
|
|
type
Nothing
|
|
type
Null
|
|
type
NullPointerException
|
|
type
Pair
[ a , b ]
|
|
type
String
|
|
type
Throwable
|
|
type
Triple
[ a , b , c ]
|
|
type
boolean
|
|
type
byte
|
|
type
char
|
|
type
double
|
|
type
float
|
|
type
int
|
|
type
long
|
|
type
short
|
|
type
unit
|
Def Summary | |
def
Array
( xs : scala.<repeated> )
: Array
|
|
def
Array
( xs : scala.<repeated> )
: Array
|
|
def
Array
( xs : scala.<repeated> )
: Array
|
|
def
Array
( xs : scala.<repeated> )
: Array
|
|
def
Array
( xs : scala.<repeated> )
: Array
|
|
def
Array
( xs : scala.<repeated> )
: Array
|
|
def
Array
( xs : scala.<repeated> )
: Array
|
|
def
Array
( xs : scala.<repeated> )
: Array
|
|
def
Array
( xs : scala.<repeated> )
: Array
|
|
def
Array
[ A& <: java.lang.Object ]
( xs : scala.<repeated> )
: Array
Create an array with given elements. |
|
def
Pair
[ a& , b& ]
( x : a& , y : b& )
: Tuple2
|
|
def
Triple
[ a& , b& , c& ]
( x : a& , y : b& , z : c& )
: Tuple3
|
|
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& )
: Tuple9
|
|
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& )
: Tuple8
|
|
def
Tuple
[ a1& , a2& , a3& , a4& , a5& , a6& , a7& ]
( x1 : a1& , x2 : a2& , x3 : a3& , x4 : a4& , x5 : a5& , x6 : a6& , x7 : a7& )
: Tuple7
|
|
def
Tuple
[ a1& , a2& , a3& , a4& , a5& , a6& ]
( x1 : a1& , x2 : a2& , x3 : a3& , x4 : a4& , x5 : a5& , x6 : a6& )
: Tuple6
|
|
def
Tuple
[ a1& , a2& , a3& , a4& , a5& ]
( x1 : a1& , x2 : a2& , x3 : a3& , x4 : a4& , x5 : a5& )
: Tuple5
|
|
def
Tuple
[ a1& , a2& , a3& , a4& ]
( x1 : a1& , x2 : a2& , x3 : a3& , x4 : a4& )
: Tuple4
|
|
def
Tuple
[ a1& , a2& , a3& ]
( x1 : a1& , x2 : a2& , x3 : a3& )
: Tuple3
|
|
def
Tuple
[ a1& , a2& ]
( x1 : a1& , x2 : a2& )
: Tuple2
|
|
def
assert
( assertion : scala.Boolean )
: scala.Unit
|
|
def
assert
( assertion : scala.Boolean , message : scala.Any )
: scala.Unit
|
|
def
assume
( assumption : scala.Boolean )
: scala.Unit
|
|
def
assume
( assumption : scala.Boolean , message : scala.Any )
: scala.Unit
|
|
def
boolean2ordered
( x : scala.Boolean )
: Ordered
|
|
def
byte2double
( x : scala.Byte )
: scala.Double
|
|
def
byte2float
( x : scala.Byte )
: scala.Float
|
|
def
byte2int
( x : scala.Byte )
: scala.Int
|
|
def
byte2long
( x : scala.Byte )
: scala.Long
|
|
def
byte2short
( x : scala.Byte )
: scala.Short
|
|
def
char2double
( x : scala.Char )
: scala.Double
|
|
def
char2float
( x : scala.Char )
: scala.Float
|
|
def
char2int
( x : scala.Char )
: scala.Int
|
|
def
char2long
( x : scala.Char )
: scala.Long
|
|
def
char2ordered
( x : scala.Char )
: Ordered
|
|
def
double2ordered
( x : scala.Double )
: Ordered
|
|
def
error
( message : java.lang.String )
: scala.All
|
|
def
exit
( status : scala.Int )
: scala.All
|
|
def
exit
: scala.All
|
|
def
float2double
( x : scala.Float )
: scala.Double
|
|
def
float2ordered
( x : scala.Float )
: Ordered
|
|
def
identity
[ a& ]
( x : a& )
: a&
|
|
def
int2double
( x : scala.Int )
: scala.Double
|
|
def
int2float
( x : scala.Int )
: scala.Float
|
|
def
int2long
( x : scala.Int )
: scala.Long
|
|
def
int2ordered
( x : scala.Int )
: Ordered
|
|
def
long2double
( x : scala.Long )
: scala.Double
|
|
def
long2float
( x : scala.Long )
: scala.Float
|
|
def
long2ordered
( x : scala.Long )
: Ordered
|
|
def
seq2ordered
[ a& ]
( xs : Array ) ( view$6 : Function1 )
: Ordered
|
|
def
short2double
( x : scala.Short )
: scala.Double
|
|
def
short2float
( x : scala.Short )
: scala.Float
|
|
def
short2int
( x : scala.Short )
: scala.Int
|
|
def
short2long
( x : scala.Short )
: scala.Long
|
|
def
string2ordered
( x : java.lang.String )
: Ordered
|
|
def
string2seq
( str : java.lang.String )
: Seq
|
|
def
tuple22ordered
[ a1& , a2& ]
( x : Tuple2 ) ( view$8 : Function1 , view$9 : Function1 )
: Ordered
|
|
def
tuple32ordered
[ a1& , a2& , a3& ]
( x : Tuple3 ) ( view$11 : Function1 , view$12 : Function1 , view$13 : Function1 )
: Ordered
|
|
def
tuple42ordered
[ a1& , a2& , a3& , a4& ]
( x : Tuple4 ) ( view$15 : Function1 , view$16 : Function1 , view$17 : Function1 , view$18 : Function1 )
: Ordered
|
|
def
tuple52ordered
[ a1& , a2& , a3& , a4& , a5& ]
( x : Tuple5 ) ( view$20 : Function1 , view$21 : Function1 , view$22 : Function1 , view$23 : Function1 , view$24 : Function1 )
: Ordered
|
|
def
tuple62ordered
[ a1& , a2& , a3& , a4& , a5& , a6& ]
( x : Tuple6 ) ( view$26 : Function1 , view$27 : Function1 , view$28 : Function1 , view$29 : Function1 , view$30 : Function1 , view$31 : Function1 )
: Ordered
|
|
def
tuple72ordered
[ a1& , a2& , a3& , a4& , a5& , a6& , a7& ]
( x : Tuple7 ) ( view$33 : Function1 , view$34 : Function1 , view$35 : Function1 , view$36 : Function1 , view$37 : Function1 , view$38 : Function1 , view$39 : Function1 )
: Ordered
|
|
def
tuple82ordered
[ a1& , a2& , a3& , a4& , a5& , a6& , a7& , a8& ]
( x : Tuple8 ) ( view$41 : Function1 , view$42 : Function1 , view$43 : Function1 , view$44 : Function1 , view$45 : Function1 , view$46 : Function1 , view$47 : Function1 , view$48 : Function1 )
: Ordered
|
|
def
tuple92ordered
[ a1& , a2& , a3& , a4& , a5& , a6& , a7& , a8& , a9& ]
( x : Tuple9 ) ( view$50 : Function1 , view$51 : Function1 , view$52 : Function1 , view$53 : Function1 , view$54 : Function1 , view$55 : Function1 , view$56 : Function1 , view$57 : Function1 , view$58 : Function1 )
: Ordered
|
Constructor Detail |
def
this
Type Detail |
type
Function
[ a , b ]
type
Nothing
type
Null
type
NullPointerException
type
Pair
[ a , b ]
type
String
type
Throwable
type
Triple
[ a , b , c ]
type
boolean
type
byte
type
char
type
double
type
float
type
int
type
long
type
short
type
unit
Def Detail |
def
Array
( xs : scala.<repeated> ) : Array
def
Array
( xs : scala.<repeated> ) : Array
def
Array
( xs : scala.<repeated> ) : Array
def
Array
( xs : scala.<repeated> ) : Array
def
Array
( xs : scala.<repeated> ) : Array
def
Array
( xs : scala.<repeated> ) : Array
def
Array
( xs : scala.<repeated> ) : Array
def
Array
( xs : scala.<repeated> ) : Array
def
Array
( xs : scala.<repeated> ) : Array
def
Array
[ A& <: java.lang.Object ]( xs : scala.<repeated> ) : Array
def
Pair
[ a& , b& ]( x : a& , y : b& ) : Tuple2
def
Triple
[ a& , b& , c& ]( x : a& , y : b& , z : c& ) : Tuple3
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& ) : Tuple9
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& ) : Tuple8
def
Tuple
[ a1& , a2& , a3& , a4& , a5& , a6& , a7& ]( x1 : a1& , x2 : a2& , x3 : a3& , x4 : a4& , x5 : a5& , x6 : a6& , x7 : a7& ) : Tuple7
def
Tuple
[ a1& , a2& , a3& , a4& , a5& , a6& ]( x1 : a1& , x2 : a2& , x3 : a3& , x4 : a4& , x5 : a5& , x6 : a6& ) : Tuple6
def
Tuple
[ a1& , a2& , a3& , a4& , a5& ]( x1 : a1& , x2 : a2& , x3 : a3& , x4 : a4& , x5 : a5& ) : Tuple5
def
Tuple
[ a1& , a2& , a3& , a4& ]( x1 : a1& , x2 : a2& , x3 : a3& , x4 : a4& ) : Tuple4
def
Tuple
[ a1& , a2& , a3& ]( x1 : a1& , x2 : a2& , x3 : a3& ) : Tuple3
def
Tuple
[ a1& , a2& ]( x1 : a1& , x2 : a2& ) : Tuple2
def
assert
( assertion : scala.Boolean ) : scala.Unit
def
assert
( assertion : scala.Boolean , message : scala.Any ) : scala.Unit
def
assume
( assumption : scala.Boolean ) : scala.Unit
def
assume
( assumption : scala.Boolean , message : scala.Any ) : scala.Unit
def
boolean2ordered
( x : scala.Boolean ) : Ordered
def
byte2double
( x : scala.Byte ) : scala.Double
def
byte2float
( x : scala.Byte ) : scala.Float
def
byte2int
( x : scala.Byte ) : scala.Int
def
byte2long
( x : scala.Byte ) : scala.Long
def
byte2short
( x : scala.Byte ) : scala.Short
def
char2double
( x : scala.Char ) : scala.Double
def
char2float
( x : scala.Char ) : scala.Float
def
char2int
( x : scala.Char ) : scala.Int
def
char2long
( x : scala.Char ) : scala.Long
def
char2ordered
( x : scala.Char ) : Ordered
def
double2ordered
( x : scala.Double ) : Ordered
def
error
( message : java.lang.String ) : scala.All
def
exit
( status : scala.Int ) : scala.All
def
exit
: scala.All
def
float2double
( x : scala.Float ) : scala.Double
def
float2ordered
( x : scala.Float ) : Ordered
def
identity
[ a& ]( x : a& ) : a&
def
int2double
( x : scala.Int ) : scala.Double
def
int2float
( x : scala.Int ) : scala.Float
def
int2long
( x : scala.Int ) : scala.Long
def
int2ordered
( x : scala.Int ) : Ordered
def
long2double
( x : scala.Long ) : scala.Double
def
long2float
( x : scala.Long ) : scala.Float
def
long2ordered
( x : scala.Long ) : Ordered
def
seq2ordered
[ a& ]( xs : Array ) ( view$6 : Function1 ) : Ordered
def
short2double
( x : scala.Short ) : scala.Double
def
short2float
( x : scala.Short ) : scala.Float
def
short2int
( x : scala.Short ) : scala.Int
def
short2long
( x : scala.Short ) : scala.Long
def
string2ordered
( x : java.lang.String ) : Ordered
def
string2seq
( str : java.lang.String ) : Seq
def
tuple22ordered
[ a1& , a2& ]( x : Tuple2 ) ( view$8 : Function1 , view$9 : Function1 ) : Ordered
def
tuple32ordered
[ a1& , a2& , a3& ]( x : Tuple3 ) ( view$11 : Function1 , view$12 : Function1 , view$13 : Function1 ) : Ordered
def
tuple42ordered
[ a1& , a2& , a3& , a4& ]( x : Tuple4 ) ( view$15 : Function1 , view$16 : Function1 , view$17 : Function1 , view$18 : Function1 ) : Ordered
def
tuple52ordered
[ a1& , a2& , a3& , a4& , a5& ]( x : Tuple5 ) ( view$20 : Function1 , view$21 : Function1 , view$22 : Function1 , view$23 : Function1 , view$24 : Function1 ) : Ordered
def
tuple62ordered
[ a1& , a2& , a3& , a4& , a5& , a6& ]( x : Tuple6 ) ( view$26 : Function1 , view$27 : Function1 , view$28 : Function1 , view$29 : Function1 , view$30 : Function1 , view$31 : Function1 ) : Ordered
def
tuple72ordered
[ a1& , a2& , a3& , a4& , a5& , a6& , a7& ]( x : Tuple7 ) ( view$33 : Function1 , view$34 : Function1 , view$35 : Function1 , view$36 : Function1 , view$37 : Function1 , view$38 : Function1 , view$39 : Function1 ) : Ordered
def
tuple82ordered
[ a1& , a2& , a3& , a4& , a5& , a6& , a7& , a8& ]( x : Tuple8 ) ( view$41 : Function1 , view$42 : Function1 , view$43 : Function1 , view$44 : Function1 , view$45 : Function1 , view$46 : Function1 , view$47 : Function1 , view$48 : Function1 ) : Ordered
def
tuple92ordered
[ a1& , a2& , a3& , a4& , a5& , a6& , a7& , a8& , a9& ]( x : Tuple9 ) ( view$50 : Function1 , view$51 : Function1 , view$52 : Function1 , view$53 : Function1 , view$54 : Function1 , view$55 : Function1 , view$56 : Function1 , view$57 : Function1 , view$58 : Function1 ) : Ordered