Created
April 16, 2017 13:54
-
-
Save john77eipe/c5684a32c5dc9d61c0a7d86238fe6c48 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//no changes to vendor | |
//in client just this line of code ;-) | |
int result = MathUtility.sum(listOfInts, (Integer i)->{return (i<3);}); | |
//still shorter way of doing it | |
int result = MathUtility.sum(listOfInts, i ->i<3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment