随笔分类 -  scala

摘要:小结: 1、基于java并发模型 Scala concurrency is built on top of the Java concurrency model. 2、 将每个请求放入一个新的线程 The main drawback with this code is that only one r 阅读全文
posted @ 2019-04-25 11:06 papering 阅读(378) 评论(0) 推荐(0)
摘要:scala wordcount kmeans k-means算法的输入对象是d维向量空间的一些点,对一个d维向量的点集进行聚类。 k-means聚类算法会将集合D划分成k个聚簇。 阅读全文
posted @ 2018-05-20 17:56 papering 阅读(187) 评论(0) 推荐(0)
摘要:Scala In Depth 深入理解Scala 1、判等 2、并发 3、用None不用nul l 阅读全文
posted @ 2018-05-20 17:45 papering 阅读(165) 评论(0) 推荐(0)
摘要:优先采用面向表达式编程 阅读全文
posted @ 2018-05-20 16:23 papering 阅读(147) 评论(0) 推荐(0)
摘要:http://www.scala-lang.org/blog/2017/11/28/view-based-collections.html 阅读全文
posted @ 2017-11-30 23:24 papering 阅读(141) 评论(0) 推荐(0)
摘要:scala 阅读全文
posted @ 2017-11-28 04:03 papering 阅读(126) 评论(0) 推荐(0)
摘要:http://www.scala-sbt.org/0.13/docs/zh-cn/Installing-sbt-on-Linux.html [root@hadoop1 target]# curl https://bintray.com/sbt/rpm/rpm > bintray-sbt-rpm.repo % Total % Received % Xferd Average Spe... 阅读全文
posted @ 2017-11-24 14:43 papering 阅读(376) 评论(0) 推荐(0)
摘要:http://www.scala-sbt.org/0.13/docs/index.html sbt is a build tool for Scala, Java, and more. It requires Java 1.6 or later. Install See Installing sbt 阅读全文
posted @ 2017-11-23 20:49 papering 阅读(337) 评论(0) 推荐(0)
摘要:w Scala 简介 | 菜鸟教程 http://www.runoob.com/scala/scala-intro.html 阅读全文
posted @ 2017-04-29 01:15 papering 阅读(191) 评论(0) 推荐(0)
摘要:Scala集成了函数编程和对象编程的优点。 SEAMLESS JAVA INTEROP Scala runs on the JVM, so Java and Scala stacks can be freely mixed for totally seamless integration. TYPE 阅读全文
posted @ 2017-04-29 01:10 papering 阅读(195) 评论(0) 推荐(0)