Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

sum and array list java

int sum = (list.stream().
        mapToInt(i -> i.intValue()).sum()
 
PREVIOUS NEXT
Tagged: #sum #array #list #java
ADD COMMENT
Topic
Name
9+9 =