public static Object sum ( Iterator < Object > self ) { return sum ( toList ( self ) , null , true ) ; }
Sums the items from an Iterator . This is equivalent to invoking the plus method on all items from the Iterator . The iterator will become exhausted of elements after determining the sum value .