摘要: 符号: <- :for循环 -> :map映射 => :匿名函数 Int= :scala函数 _ :通配符 https://blog.csdn.net/bon_mot/article/details/52397933 http://www.10tiao.com/html/519/201611/266 阅读全文
posted @ 2018-07-17 20:57 脚本小娃子 阅读(582) 评论(0) 推荐(0)
摘要: 在scala中,*不是通配符,下斜杠“_”才是通配符。因此当使用某个package所有的类时,直接使用:import test._;使用某几个时,直接使用:import test.{ClassA,ClassB} Do you want to use the whole package? Use im 阅读全文
posted @ 2018-07-17 20:54 脚本小娃子 阅读(271) 评论(0) 推荐(0)