public Collection < FileInfo > getFileInfo ( final Predicate < FileInfo > filter ) { return files . values ( ) . stream ( ) . filter ( filter ) . collect ( Collectors . toList ( ) ) ; }
Get file info objects that pass the filter