blob: 08ce1b471a5851725511540f901825cad7af0a56 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
import collection.mutable
object Foo {
def bar() {
val names_times = mutable.Map[String, mutable.Set[Long]]()
val line = ""
val Array(fields) = line.split("\t")
names_times(fields(0)) += fields(1).toLong
}
}
|