Changeset 6334 for lang/scala
- Timestamp:
- 02/07/08 16:25:04 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/scala/sandbox/src/jp/gr/java_conf/mizu/util/MultiDimArray.scala
r6333 r6334 69 69 import scala.collection.mutable.ArrayBuffer 70 70 val a = new ArrayBuffer[ArrayBuffer[AnyRef]] 71 var x = 072 71 var y = 0 73 72 a += new ArrayBuffer[AnyRef] … … 75 74 if(es(i) == NL) { 76 75 y += 1 77 x = 078 76 if(i < es.length - 1) a += new ArrayBuffer[AnyRef] 79 77 }else { 80 a(x)(y) = es(i).asInstanceOf[AnyRef] 81 x += 1 78 a(y) += es(i).asInstanceOf[AnyRef] 82 79 } 83 80 }
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)