You'll want to make use of the built-in line separator. The gain is always that there's no need to issue what technique you code is functioning on, it will just get the job done. Given that Java 1.7From time to time - but only extremely almost never - instead of a new ArrayList, you might want a new LinkedList. Start off out with ArrayList and When