summaryrefslogtreecommitdiff
path: root/src/library/scala/runtime/IntRef.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/scala/runtime/IntRef.java')
-rw-r--r--src/library/scala/runtime/IntRef.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/library/scala/runtime/IntRef.java b/src/library/scala/runtime/IntRef.java
new file mode 100644
index 0000000000..3ad9ad69e5
--- /dev/null
+++ b/src/library/scala/runtime/IntRef.java
@@ -0,0 +1,21 @@
+/* __ *\
+** ________ ___ / / ___ Scala API **
+** / __/ __// _ | / / / _ | (c) 2002-2008, LAMP/EPFL **
+** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
+** /____/\___/_/ |_/____/_/ | | **
+** |/ **
+\* */
+
+// $Id$
+
+
+package scala.runtime;
+
+
+public class IntRef implements java.io.Serializable {
+ private static final long serialVersionUID = 1488197132022872888L;
+
+ public int elem;
+ public IntRef(int elem) { this.elem = elem; }
+ public String toString() { return Integer.toString(elem); }
+}