I’ve wet my feet a little on the Java package java.util.function by instantiating a [u]Predicate[/u] and passing it as an argument at these 2 old sketch links below:
- Querying ArrayList - Processing 2.x and 3.x Forum
- Forum.Processing.org/two/discussion/22823/how-to-implement-this-method#Item_2
Of course it’s not even close to an actual lambda ->
syntax. But it’s as far as we can go under the PDE.