public class SumFunction extends AbstractExpression (Code)
Sum function. This function returns the sum of all of its argument, but
it accepts Collections or Iterators as arguments. When it finds such an
argument it iterates on all it's values, and try to sum them as well. It
accepts String and any instance of Number.