我不了解reduceLeft的实现。 >:def reduceLeft [B>:A](op:(B,A)=> B):B的用途是什么

时间:2019-06-23 17:06:50

标签: scala

我试图了解reduceLeft的工作原理,但是我没有得到reduceLeft实现的Scala语法。 def reduceLeft [B>:A](op:(B,A)=> B):B

da@n53sm:~$ traceroute istanbul.edu.tr traceroute to istanbul.edu.tr (194.27.128.98), 30 hops max, 60 byte packets 1 100.90.170.253 (100.90.170.253) 0.444 ms 0.505 ms 0.593 ms 2 172.16.16.1 (172.16.16.1) 0.976 ms 0.914 ms 0.953 ms 3 172.16.0.1 (172.16.0.1) 1.982 ms 2.329 ms 1.585 ms 4 193.255.0.121 (193.255.0.121) 7.373 ms 7.236 ms 7.514 ms 5 193.255.0.246 (193.255.0.246) 8.310 ms 8.213 ms 8.363 ms 6 * * * 7 * * * 8 * * * 9 * * * 10 * * * 11 * * * 12 * * * 13 * * * 14 * * * 15 * * * 16 * * * 17 * * * 18 * * * 19 * * * 20 * * * 21 * * * 22 * * * 23 * * * 24 * * * 25 * * * 26 * * * 27 * * * 28 * * * 29 * * * 30 * * * da@n53sm:~$ sudo lft istanbul.edu.tr traceroute to istanbul.edu.tr (194.27.128.98), 30 hops max, 60 byte packets 1 100.90.170.253 (100.90.170.253) 0.502 ms 0.482 ms 2 172.16.16.1 (172.16.16.1) 0.558 ms 0.579 ms 3 172.16.0.1 (172.16.0.1) 3.936 ms 1.075 ms 4 193.255.0.121 (193.255.0.121) 6.835 ms 7.135 ms 5 193.255.0.246 (193.255.0.246) 7.814 ms 7.850 ms 6 www.istanbul.edu.tr (194.27.128.98) 7.621 ms 7.536 ms 是什么意思?

>:

0 个答案:

没有答案