CS HELP
Use sets to solve this problem
package log;
import java.io.IOException;
import java.io.Reader;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class LogParser {
/**
* Returns a list of SuspectEntries corresponding to the CSV datasupplied by the given Reader.
*
* The data contains one or more lines of the format:
*
* Marc,413-545-3061,1234567890
*
* representing a name, phone number, and passport number.
*
* @param r an open Reader object
* @return a list of SuspectEntries
* @throws IOException
*/
public static List parseLog(Reader r) throws IOException {
}
/**
* Returns a sorted list of SuspectEntries whose passport numbersare common to all
* of the supplied entryLists.
*
* The list is sorted lexicographically by passport number,breaking ties by name
* and then by phone
PayPal Gateway not configured
PayPal Gateway not configured