streamlabs song list to pastebin package Songs; public class Songs { private String typeList; private String name; private String time; public Songs(String typeList, String name, String time) { this.typeList = typeList; this.name = name; this.time = time; } streamlabs song list to pastebin How to get it for free? streamlabs song list to pastebin public String getTypeList() { return typeList; } public String getName() { return name; } public String getTime() { streamlabs song list to pastebin How to get it for free? streamlabs song list to pastebin return time; } } import java.util.ArrayList; import java.util.List; import java.util.Scanner; import java.util.stream.Collectors; public class Main { streamlabs song list to pastebin How to dowload it? streamlabs song list to pastebin public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = Integer.parseInt(scan.nextLine()); List songList = new ArrayList<>(); for (int i = 0; i < n; i++) { String input = scan.nextLine(); String typeOfList = input.split("_")[0]; String nameOfSong = input.split("_")[1]; String duration = input.split("_")[2]; Songs currentSong = new Songs(typeOfList, nameOfSong, duration); streamlabs song list to pastebin How to dowload it? streamlabs song list to pastebin songList.add(currentSong); } String filter = scan.nextLine(); if (filter.equals("all")) { for (Songs songs : songList) { System.out.println(songs.getName()); } } else { List filteredSongs = songList.stream().filter(e -> e.getTypeList().equals(filter)).collect(Collectors.toList()); streamlabs song list to pastebin PasteShr streamlabs song list to pastebin for (Songs filteredSong : filteredSongs) { System.out.println(filteredSong.getName()); } } } } streamlabs song list to pastebin