Getting started with R.apex
Function with Variadic Arguments
So far so good. What if we need to handle functions that take variadic arguments? Let's extend our AddFunc
to allow adding multiple numbers.
public class AddFunc extends Func {
public AddFunc() {
super(-1);
}
public override Object execN(List