Skip to content

Instantly share code, notes, and snippets.

@mateuszmrozewski
Created August 28, 2019 12:18
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 mateuszmrozewski/d3e2d1f2f3fe1b6ee802d9cb469c0d39 to your computer and use it in GitHub Desktop.
Save mateuszmrozewski/d3e2d1f2f3fe1b6ee802d9cb469c0d39 to your computer and use it in GitHub Desktop.
List.of(1, 2, 3, 3, 3, 4).stream()
.distinct()
.forEach(System.out::println);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment