先 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)
2024-03-01 18:00:22
先 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)