Scala List使用事项
把Scala List的几种常见方法梳理汇总如下,日常开发场景基本上够用了。创建列表 scala> val days = List(“Sunday”, “Monday”, “Tuesday”, “Wednesday”, “Thursday”, “Friday”, “Saturday”) days: List[String] = List(Sunday, Monday, Tuesday,