public File[] listFiles(FileFilter filter) {

        List ret = new LinkedList();
        Iterator it = this.childs.iterator();
        File next;
        while (it.hasNext()) {
            next = (File)it.next();
            if (filter.accept(next)) {
                ret.add(next);
            }
        }
        return (File[])ret.toArray(new File[ret.size()]);
    }
public File[] listFiles(FileFilter filter) {

        List ret = new LinkedList();
        Iterator it = this.childs.iterator();
        File next;
        while (it.hasNext()) {
            next = (File)it.next();
            if (filter.accept(next)) {
                ret.add(next);
            }
        }
        return (File[])ret.toArray(new File[ret.size()]);
    }
public File [ ] listFiles ( FileFilter filter ) { List ret = new LinkedList ( ) ; Iterator it = this . childs . iterator ( ) ; File next ; while ( it . hasNext ( ) ) { next = ( File ) it . next ( ) ; if ( filter . accept ( next ) ) { ret . add ( next ) ; } } return ( File [ ] ) ret . toArray ( new File [ ret . size ( ) ] ) ; }
/*
(non-Javadoc)

@see java.io.File#listFiles(java.io.FileFilter)
/ * ( non - Javadoc )