public File [ ] getFiles ( ) { List < File > result = new ArrayList <> ( ) ; for ( FileCount fileCount : results ) { result . add ( fileCount . getFile ( ) ) ; } Collections . sort ( result , new FitFileComparator ( ) ) ; return result . toArray ( new File [ result . size ( ) ] ) ; }
Returns all saved filenames .