摘要: 列表列表的初始化及对其首尾的访问:scala> val colors = List("red", "blue", "green")colors: List[String] = List(red, blue, green)scala> colors.headres15: String = redsca... 阅读全文
posted @ 2014-11-22 22:22 ~风轻云淡~ 阅读(5580) 评论(0) 推荐(0)
摘要: List对象的方法 阅读全文
posted @ 2014-11-22 19:16 ~风轻云淡~ 阅读(1903) 评论(0) 推荐(0)