1.2.2. The getUniqueIPs() method must return a set of all unique IP address. Store each IP address in a String. - cool from where?
I had a look at the solution, the mentor creates a new class, new methods, in all about 230 lines of code. So far I have 39.
How does CodeGym expect of me to come up with about 200 more lines of code with such little information provided in the conditions ?
So frustrated...
package com.codegym.task.task39.task3913;
import java.nio.file.Paths;
import java.util.Date;
public class Solution {
public static void main(String[] args) {
LogParser logParser = new LogParser(Paths.get("c:/logs/"));
System.out.println(logParser.getNumberOfUniqueIPs(null, new Date()));
}
}