摘要: [comment]: 不变(Invariant), 协变(Covarinat), 逆变(Contravariant) : 一个程序猿进化的故事 阿袁工作的第1天: 不变(Invariant), 协变(Covarinat), 逆变(Contravariant)的初次约 阿袁,早!开始工作吧。 阿袁在笔 阅读全文
posted @ 2016-09-16 23:45 SNYang 阅读(954) 评论(1) 推荐(0) 编辑
摘要: [comment]: Scala Collection简介 Traversable vs Iterable Traversable, Iterable 都是trait。 Iterable 继承 Traversable。 Traversable: 支持foreach. Iterable: 支持Inte 阅读全文
posted @ 2016-09-16 00:52 SNYang 阅读(691) 评论(0) 推荐(0) 编辑