public List<File> getAllStorageFilesToSave() throws StateStorageException { List<File> result = new SmartList<File>(); for (StateStorage.SaveSession saveSession : mySaveSessions.values()) { result.addAll(saveSession.getStorageFilesToSave()); } return result; }
public List<IFile> getAllStorageFilesToSave() throws StateStorage.StateStorageException { List<IFile> result = new ArrayList<IFile>(); for (StateStorage stateStorage : mySaveSessions.keySet()) { final StateStorage.SaveSession saveSession = mySaveSessions.get(stateStorage); result.addAll(saveSession.getStorageFilesToSave()); } return result; }