scala implicit - implicit parameters spark 应用
语法class PreferredPrompt(val preference: String)object Greeter { def greet(name:String)(implicit prompt: PreferredPrompt) { println("Welcome, " + name + ". Thee systeme is ready.") ...
原创
2020-02-03 18:45:14 ·
334 阅读 ·
0 评论