You can’t currently do it with Java (well, you can but it’s really roundabout)
There’s a guava library that makes it easier to do functional programming with collections: https://code.google.com/p/guava-libraries/wiki/FunctionalExplained
You can’t currently do it with Java (well, you can but it’s really roundabout)
There’s a guava library that makes it easier to do functional programming with collections: https://code.google.com/p/guava-libraries/wiki/FunctionalExplained