Open ra4king opened 9 years ago
Remember most utility methods around Lambda work with interfaces that use generics. Structs and generics don't mix at all, as structs are not class-types but raw pointers. Using Lambda expressions in a method that also uses structs however, shouldn't be too hard to add.
Keep in mind the support is minimal. Lambdas with structs will either crash the transformer or the JVM bytecode verifier.
Lambdas are very clean and easy to use. I have some areas that could benefit visually from this (turning 6 lines in 1!). Hopefully this isn't too much work, however I'm definitely interested in helping out.