Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
This one is neater and works, of course.
System.out.println(
select(Arrays.asList("Test", "this", "bug"),
startsWith("Tes")));
Original comment by tibokr...@googlemail.com
on 20 Feb 2010 at 4:11
The code in your first example cannot work for the simple reason that the class
String is final and then non-proxable. This is a well known limitation of
lambdaj and
I suppose it has been already clearly underlined. If you need more
clarifications
about it please let me know.
Anyway you already found the right (and best) way to achieve what you wanted.
Original comment by mario.fu...@gmail.com
on 20 Feb 2010 at 5:03
Original issue reported on code.google.com by
tibokr...@googlemail.com
on 20 Feb 2010 at 3:49