@malloc

导航

2019年3月5日 #

Scala基础

摘要: 1.seq[String] 用[]表示参数类型,java使用<>表示参数,因为Scala 允许以<命名方法和变量名,java不允许 2.支持range的类型:Char 、Int 、 Long 、 Float 、 Double 、BigInt(任一大小整数)、BigDecimal(任意大小浮点数) 3 阅读全文

posted @ 2019-03-05 20:58 malloc+ 阅读(132) 评论(0) 推荐(0) 编辑