Guest User

Untitled

a guest
Nov 21st, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. public Stream<String> orderedSongNames() {
  2. return songs.stream().sorted((s1,s2)>s1.getSongName().compareTo(s2.getSongName()));
  3. }
Add Comment
Please, Sign In to add comment