2017年7月25日

scala中的Type使用

摘要: 一、scala 使用 generic 通用类型如何做模式匹配 上述的case class Info在模式匹配时,需要使用 代替传统的 如果用下面的,编译时会有警报 non variable type-argument String in type pattern String => _ is unc 阅读全文

posted @ 2017-07-25 15:33 重八 阅读(774) 评论(0) 推荐(0) 编辑

导航