diff options
author | mihaylov <mihaylov@epfl.ch> | 2005-10-05 09:33:29 +0000 |
---|---|---|
committer | mihaylov <mihaylov@epfl.ch> | 2005-10-05 09:33:29 +0000 |
commit | 738348f88d7e6e17e4f663dabfff6cf8ec8af398 (patch) | |
tree | 58d7212cd2ed4e87e6780c21201d3afe26d37592 /sources/msil | |
parent | 78a88d95aa3a146047aecbf016446d0933270ff0 (diff) | |
download | scala-738348f88d7e6e17e4f663dabfff6cf8ec8af398.tar.gz scala-738348f88d7e6e17e4f663dabfff6cf8ec8af398.tar.bz2 scala-738348f88d7e6e17e4f663dabfff6cf8ec8af398.zip |
*** empty log message ***
Diffstat (limited to 'sources/msil')
-rw-r--r-- | sources/msil/scala/runtime/compat/StringBuilder.scala | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sources/msil/scala/runtime/compat/StringBuilder.scala b/sources/msil/scala/runtime/compat/StringBuilder.scala new file mode 100644 index 0000000000..4154c0fb3a --- /dev/null +++ b/sources/msil/scala/runtime/compat/StringBuilder.scala @@ -0,0 +1,22 @@ +/* __ *\ +** ________ ___ / / ___ Scala API ** +** / __/ __// _ | / / / _ | (c) 2002-2005, LAMP/EPFL ** +** __\ \/ /__/ __ |/ /__/ __ | ** +** /____/\___/_/ |_/____/_/ | | ** +** |/ ** +\* */ + +// $Id$ + + +package scala.runtime.compat; + +class StringBuilder { + val str = new System.Text.StringBuilder(); + def append(x: Any): StringBuilder = { + str.Append(x); + this + } + def length(): Int = str.Length; + override def toString() = str.toString(); +} |