summaryrefslogtreecommitdiff
path: root/src/dotnet-library/scala/Cell.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotnet-library/scala/Cell.scala')
-rw-r--r--src/dotnet-library/scala/Cell.scala22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/dotnet-library/scala/Cell.scala b/src/dotnet-library/scala/Cell.scala
new file mode 100644
index 0000000000..b9e3ed7a7e
--- /dev/null
+++ b/src/dotnet-library/scala/Cell.scala
@@ -0,0 +1,22 @@
+/* __ *\
+** ________ ___ / / ___ Scala API **
+** / __/ __// _ | / / / _ | (c) 2003-2006, LAMP/EPFL **
+** __\ \/ /__/ __ |/ /__/ __ | **
+** /____/\___/_/ |_/____/_/ | | **
+** |/ **
+\* */
+
+// $Id$
+
+
+package scala
+
+
+/** A <code>Cell</code> is a generic wrapper which completely
+ * hides the functionality of the wrapped object. The wrapped
+ * object is accessible via the <code>elem</code> accessor method.
+ *
+ * @author Martin Odersky
+ * @version 1.0, 08/08/2003
+ */
+case class Cell[+T](elem: T)