Scala - error: not found: value SortedMap

先 IMPORT!!!!

 

scala> import scala.collection._
import scala.collection._

scala>  SortedMap("2"->"jx","1"->"hxf","3"->"hl")
res0: scala.collection.SortedMap[String,String] = Map(1 -> hxf, 2 -> jx, 3 -> hl)

posted @ 2016-01-20 10:55  LightingCui  阅读(903)  评论(0编辑  收藏  举报