DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
sum of arraylist java 8
int total = numbers.stream().mapToInt(i -> i.intValue()).sum(); System.out.print(total);
PREVIOUS
NEXT
Tagged:
#sum
#arraylist
#java
ADD COMMENT
Topic
COMMENT
Name
5+2 =
Submit