question: private List < Parameter > load ( CommentedLineReader reader ) throws IOException { List < Parameter > parameters = new ArrayList < Parameter > ( ) ; String line = null ; try { while ( ( line = reader . readLine ( ) ) != null ) { String [ ] tokens = line . split ( "\\s+" ) ; if ( tokens . length != 3 ) { throw new IOException ( "expected only three items per line" ) ; } parameters . add ( new Parameter ( tokens [ 0 ] , Double . parseDouble ( tokens [ 1 ] ) , Double . parseDouble ( tokens [ 2 ] ) ) ) ; } } finally { if ( reader != null ) { reader . close ( ) ; } } return parameters ; }
target:  Returns the parameters read from the specified reader. The reader is closed by this method.