Code example for Vector

Methods: copyInto, size

0
    } 
    /** 
     * @return list of files currently accumulated  
     */ 
    public File[] getFiles() {
        int numFiles = files.size();
        File[] result = new File[numFiles];
        if (0 < numFiles) {
            files.copyInto(result);
        } 
        return result;
    } 
}