Feature Overview
This feature converts a lambda expression to an anonymous Func.
Check details on R.apex.
This feature converts a lambda expression to an anonymous Func.
Check details on R.apex.
You need to include R.apex if you want to enable this feature.
public class LambdaDemo {
public static Func f = (Integer a) -> {
return a + 1;
};
}
public class LambdaDemo {
public static Func f = new AnonymousFunc0(new Sweet.AnonymousContext(null, new Map{ }));
private class AnonymousFunc0 extends Func {
private Sweet.AnonymousContext anonymous_context;
public AnonymousFunc0(Sweet.AnonymousContext context) {
super(1);
this.anonymous_context = context;
}
public override Object execN(List