摘要: 存在类型 形式: 或 主要为了兼容 Java 的通配符 示例 scala Array[_] // 等价于 Array[T] forSome { type T} Map[_, _] // 等价于 Map[T, U] forSome { type T; type U T`| |注解| | |参数类型| 阅读全文
posted @ 2019-11-01 22:10 afewnotes 阅读(173) 评论(0) 推荐(0) 编辑