blob: 9e184352433b45b73d4cba44a4ab2dd08922c411 (
plain) (
tree)
|
|
import scala.collection.mutable._;
object Test extends Application {
val buf = new ArrayBuffer[String];
for (i <- List.range(0,1000)) {
buf += "hello";
}
Console.println("1000 = " + buf.length);
}
|