Collection < String > function ( String arg0 ) { HashSet < String > loc0 = new HashSet < String > ( ) ; BufferedReader loc1 = new BufferedReader ( new FileReader ( arg0 ) ) ; String loc2 ; while ( ( loc2 = loc1 . readLine ( ) ) != null ) { loc0 . add ( loc2 ) ; } loc1 . close ( ) ; return loc0 ; }
returns the collection or in mathematical terms , set of strings for filename , each line as an element of the returned collection . the order of elements in the list might not be same as that of lines in the file . this method is the same as #readuniquelines string except that all elementsof the collection are in lower-case . concode_field_sep PlaceHolder placeHolder concode_field_sep void writeIterator concode_elem_sep String readFile concode_elem_sep List<String> readLines concode_elem_sep void writeFile concode_elem_sep void writeCollection concode_elem_sep List<String> readLinesAsLowerCase concode_elem_sep Collection<String> readUniqueLines