Skip to content

Instantly share code, notes, and snippets.

@iyengarajay
Last active May 5, 2017 06:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iyengarajay/18824133844d5945e20900dcb99a0da4 to your computer and use it in GitHub Desktop.
Save iyengarajay/18824133844d5945e20900dcb99a0da4 to your computer and use it in GitHub Desktop.
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