Arraylist full of functions?

i dont know if you have to use processing, but if you really need lambda expression try using processing as java library from another ide