docs: public static List<Future> getAllDone(Collection<Future> futures) {
          List<Future> doneFutures = new ArrayList<Future>();
          for (Future f : futures) {
              if (f.isDone()) {
                  doneFutures.add(f);
              }
          }
          return doneFutures;
      }