DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
Get the SUM of integers in List JAVA
int sum = list.stream().mapToInt(Integer::intValue).sum();
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#Get
#SUM
#integers
#List
#JAVA
ADD COMMENT
Topic
COMMENT
Name
4+7 =
Submit