abstract final
class
Unit extends AnyVal
Instance Constructors
-
new
Unit()
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
-
def
->[B](y: B): (Unit, B)
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
ensuring(cond: (Unit) ⇒ Boolean, msg: ⇒ Any): Unit
-
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Unit
-
-
def
equals(arg0: Any): Boolean
-
def
formatted(fmtstr: String): String
-
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
toString(): String
-
def
→[B](y: B): (Unit, B)
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.