![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
scala language
oochen_98
这个作者很懒,什么都没留下…
展开
-
scala中传方法名
传递方法名选择不同的方法,_ :占位符object RecdOfCui { private val decimalFormatter = new DecimalFormat() decimalFormatter.setMaximumFractionDigits(3) def main(args: Array[String]) { Logger.getLogger("o原创 2017-11-04 15:36:00 · 249 阅读 · 0 评论 -
scala中格式化小数点
decimal原创 2017-11-04 15:44:35 · 1262 阅读 · 0 评论 -
task中隐藏不必要日志
logger原创 2017-11-04 15:47:25 · 209 阅读 · 0 评论 -
scala methods review
methods of scala原创 2017-11-06 20:44:42 · 162 阅读 · 0 评论 -
foreachActive方法
/** * Applies a function `f` to all the active elements of dense and sparse vector. * * @param f the function takes two parameters where the first parameter is the index of * the v原创 2017-11-06 20:48:50 · 769 阅读 · 0 评论 -
knn、listStatus、时间函数
list status原创 2017-11-06 21:23:43 · 841 阅读 · 0 评论 -
class中自身调用方法
自身迭代的使用方法原创 2017-11-06 21:30:14 · 1364 阅读 · 0 评论 -
knn(k-NearestNeighbor) with scala
knn原创 2017-11-02 14:51:55 · 636 阅读 · 0 评论