Skip to content

Instantly share code, notes, and snippets.

@sz332
Created March 14, 2018 11:31
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 sz332/47f484c945fdf87a1c62d94e95d2fd16 to your computer and use it in GitHub Desktop.
Save sz332/47f484c945fdf87a1c62d94e95d2fd16 to your computer and use it in GitHub Desktop.
List<Integer> l = Arrays.asList(new Integer[]{1,2,3});
Integer min = l.stream().min(Integer::compare).get();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment