-
-
Save iyengarajay/18824133844d5945e20900dcb99a0da4 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
private static void removeIllegalUsingJava8() | |
{ | |
persons.removeIf(person -> person.getAge() < 18); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment