357358359360361362363364365
public boolean hasNext() { return fileIndex < fileList.size(); } public SshFile next() { SshFile f = fileList.get(fileIndex); fileIndex++; return f; }