import processing.core.*;
import processing.data.*;
import processing.event.*;
import processing.opengl.*;

import java.util.*;
import java.util.HashMap;
import java.util.ArrayList;
import java.io.File;
import java.io.BufferedReader;
import java.io.PrintWriter;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.IOException;

public class lambdaexample extends PApplet {

    public void setup() {
List<String> test = new ArrayList<>();
test.add("a");
test.add("b");
test.forEach((x) -> { println(x); });
    noLoop();
    }

    static public void main(String[] passedArgs) {
        String[] appletArgs = new String[] { "lambdaexample" };
        if (passedArgs != null) {
            PApplet.main(concat(appletArgs, passedArgs));
        } else {
            PApplet.main(appletArgs);
        }
    }
}
