Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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