int total = numbers.stream().mapToInt(i -> i.intValue()).sum();
System.out.print(total);
doubleList.stream().reduce((a,b)->a+b).get();
//If you have a List<Integer>
int sum = list.stream().mapToInt(Integer::intValue).sum();
//If it's an int[]
int sum = IntStream.of(a).sum();