Scala Library
|
|
final
trait
Null
extends
AnyRef
Class Null
is - together with class
Nothing
- at the bottom of the
Scala type
hierarchy.
Type Null
is a subtype of all reference types; its
only instance is the null
reference.
Since Null
is not a subtype of value types,
null
is not a member of any such type. For instance,
it is not possible to assign null
to a variable of
type Int
.
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Scala Library
|
|