- 博客(3)
- 资源 (2)
- 收藏
- 关注
转载 scala学习笔记3(trait)
class UseTrait { } trait Logger{ def log(msg : String){ println("log: " + msg) } } class ConcreteLogger extends Logger{ def concreteLog{ log("It's me!") } } trait traitLogger{ de
2014-08-31 16:33:00 710
转载 scala学习笔记2(类,继承,抽象类)
class OOPinScala { } class Person{ var name : String = _ val age : Int = 27 private[this] val gender = "male" } class Person1 (val name : String,val age : Int) { println("this is
2014-08-30 16:56:52 1079
转载 scala学习笔记1(表达式)
object test { def main(args: Array[String]) { // println(hello("scala")) // hellow // println(add(1 , 2)) // println(sum(2 , 3)) // println(sum2(3)(4)) //
2014-08-29 10:39:01 1117
spark_prometheus_metrics.json
2018-09-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人