import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import java.io.File; import java.io.IOException; import java.util.*; public class Parser { static List games = new ArrayList<>(); public List sortByName(){ List sortedByName = new ArrayList<>(games); // Sort games alphabetically (least) //TODO return sortedByName; } public List sortByRating(){ List sortedByRating = new ArrayList<>(games); // Sort games by rating (most) //TODO return sortedByRating; } public List sortByPrice(){ List sortedByPrice = new ArrayList<>(games); // Sort games by price (most) //TODO return sortedByPrice; } public void setUp() throws IOException { //Parse the HTML file using Jsoup //TODO // Extract data from the HTML //TODO // Iterate through each Game div to extract Game data //TODO } public static void main(String[] args) { //you can test your code here before you run the unit tests } }