abstract final
class
Unit extends AnyVal
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
equals(arg0: Any): Boolean
-
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
toString(): String
Unitis a subtype of scala.AnyVal. There is only one value of typeUnit,(), and it is not represented by any object in the underlying runtime system. A method with return typeUnitis analogous to a Java method which is declaredvoid.