Scala Functions as Objects

原創轉載請註明出處:http://agilestyle.iteye.com/blog/2333597   先看一個簡答的例子 package org.fool.scala.functionobjects object DisplayVector extends App { /* Version 1 - DisplayVector */ def show(n: Int): Un
相關文章
相關標籤/搜索