摘要:
case class SendHeartBeat(id: String, time: Long) case object CheckTimeOutWorker /** * 模式匹配 match case * 一旦一个case 匹配上了,就不会再往下匹配了 */ object ScalaMatchCse { def main(args: Array[String]): Un... 阅读全文
posted @ 2018-09-17 18:17
马鞍山
阅读(1347)
评论(0)
推荐(0)
该文被密码保护。 阅读全文
posted @ 2018-09-17 00:33
马鞍山
阅读(2)
评论(0)
推荐(0)

浙公网安备 33010602011771号