IntSummaryStatistics () { IntSummaryStatistics stat = new IntSummaryStatistics(); for (Number[] nums : Arrays.<Number[]>asList(new Integer[]{1, 2, 3})) { int num = (int) nums[0]; stat.accept(num); } return stat; }