摘要:
##OverviewThe enum in Java is more powerful than many other languages which can lead to surprising uses.In this article, I outline some the individual... 阅读全文
随笔档案-2014年09月
Scala高阶函数示例
2014-09-02 10:36 by Rollen Holt, 2297 阅读, 收藏, 编辑
摘要:
object Closure { def function1(n: Int): Int = { val multiplier = (i: Int, m: Int) => i * m multiplier.apply(n, 2) ... 阅读全文