question: public Set < String > toFilenameSet ( int iSubset ) { HashSet s = new HashSet ( ) ; if ( ( iSubset & FROM_TRAINING_SET ) > 0 ) for ( Object elem : getTrainingSet ( ) ) { CategorizedFileEntry cfeCur = ( CategorizedFileEntry ) elem ; s . add ( cfeCur . getFileName ( ) ) ; } if ( ( iSubset & FROM_TEST_SET ) > 0 ) for ( Object elem : getTestSet ( ) ) { CategorizedFileEntry cfeCur = ( CategorizedFileEntry ) elem ; s . add ( cfeCur . getFileName ( ) ) ; } return s ; }
target:  Get a string list of all file names in the set or its training / test  subsets. 