scala> var a=0 to 10
a: scala.collection.immutable.Range.Inclusive = Range(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10)

scala> a.ma
map   max   maxBy

scala> a.ma
map   max   maxBy

scala> a.mkString
   def mkString(sep: String): String   def mkString(start: String, sep: String, end: String): String   def mkString: String

scala> a.mkString(",")
res0: String = 0,1,2,3,4,5,6,7,8,9,10

timger
631 声望22 粉丝

引用和评论

0 条评论