![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Scala
hxhh
研发+产品,分享一些工作实用技巧和干货,共勉
展开
-
Scala 心得
能够继续使用java的语法(部分) scala独特语法(或者从java包装起来的类库):例如元祖等Tuple、Map 比java语法有增强: 偏函数、 函数式编程、 函数的柯里化、 高阶函数、 将函数作为参数传递 4. scala的语法是对java的类或者接口做了包装,底层还是java 5.Java和scale关系图解 ...原创 2021-08-08 22:49:57 · 252 阅读 · 0 评论 -
Scala在idea打印的问题
错误示范: val scores = Array(77,88) val names = Array("hxh","hh","xx") names.zip(scores) println(names) 正确示范:(需要定义一个新的变量再打印,否则打印额外都是原来names) val scores = Array(77,88) val names = A原创 2018-10-11 09:30:59 · 1305 阅读 · 0 评论 -
Cannot start compilation: the output path is not specified for module "scalaDemo". 完美解决
Cannot start compilation: the output path is not specified for module "scalaDemo". Specify the output path in the Project Structure dialog 解决方案:原创 2018-10-10 15:35:36 · 9027 阅读 · 1 评论