blob: 08ce1b471a5851725511540f901825cad7af0a56 (
plain) (
tree)
|
|
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
}
}
|