コード例 #1
0
 public List<File> getAllStorageFilesToSave() throws StateStorageException {
   List<File> result = new SmartList<File>();
   for (StateStorage.SaveSession saveSession : mySaveSessions.values()) {
     result.addAll(saveSession.getStorageFilesToSave());
   }
   return result;
 }
コード例 #2
0
  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;
  }