G****A 发帖数: 4160 | 1 感觉https://www.scala-lang.org/api/完全不靠谱。下面这两个API给的定义完全相同
不说,thisElem和thatELem用法只字不提。而且,这变量名字起的也太。。。随意了吧
?这要让我codereview,完全不能给过啊
zip[B](that: GenIterable[B]): List[(A, B)]
[use case] Returns a list formed from this list and another iterable
collection by combining corresponding elements in pairs.
def zipAll[B](that: collection.Iterable[B], thisElem: A, thatElem: B): List[
(A, B)]
[use case] Returns a list formed from this list and another iterable
collection by combining corresponding elements in ... 阅读全帖 |
|