summaryrefslogtreecommitdiff
path: root/src/library/scala/Unit.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/scala/Unit.scala')
-rwxr-xr-xsrc/library/scala/Unit.scala23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/library/scala/Unit.scala b/src/library/scala/Unit.scala
new file mode 100755
index 0000000000..7ef282a9ad
--- /dev/null
+++ b/src/library/scala/Unit.scala
@@ -0,0 +1,23 @@
+/* __ *\
+** ________ ___ / / ___ Scala API **
+** / __/ __// _ | / / / _ | (c) 2002-2011, LAMP/EPFL **
+** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
+** /____/\___/_/ |_/____/_/ | | **
+** |/ **
+\* */
+
+// generated on Sun Jan 23 21:13:38 PST 2011
+
+package scala
+
+import java.{ lang => jl }
+
+import runtime.BoxedUnit
+
+final class Unit extends AnyVal { }
+
+object Unit extends AnyValCompanion {
+ override def toString = "object scala.Unit"
+ def box(x: Unit): BoxedUnit = BoxedUnit.UNIT
+ def unbox(x: jl.Object): Unit = ()
+} \ No newline at end of file