File: JDK-8023026.js.EXPECTED

package info (click to toggle)
openjdk-11 11.0.4%2B11-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 757,028 kB
  • sloc: java: 5,016,041; xml: 1,191,974; cpp: 934,731; ansic: 555,697; sh: 24,299; objc: 12,703; python: 3,602; asm: 3,415; makefile: 2,772; awk: 351; sed: 172; perl: 114; jsp: 24; csh: 3
file content (42 lines) | stat: -rw-r--r-- 602 bytes parent folder | download | duplicates (7)
1
2
3
4
5
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
31
32
33
34
35
36
37
38
39
40
41
42
iterating on an object of class [I
forEach 0
forEach 1
forEach 2
forEach 3
reduce 0 1
reduce 1 2
reduce 3 3
left sum 6
reduceRight 3 2
reduceRight 5 1
reduceRight 6 0
right sum 6
squared 0,1,4,9
iterating on an object of class java.util.ArrayList
forEach 1
forEach 3
forEach 5
forEach 7
reduce 1 3
reduce 4 5
reduce 9 7
left sum 16
reduceRight 7 5
reduceRight 12 3
reduceRight 15 1
right sum 16
squared 1,9,25,49
iterating on 2,4,6,8
forEach 2
forEach 4
forEach 6
forEach 8
reduce 2 4
reduce 6 6
reduce 12 8
left sum 20
reduceRight 8 6
reduceRight 14 4
reduceRight 18 2
right sum 20
squared 4,16,36,64