code: @Override
    public void start(final VortexThreadPool vortexThreadPool) {
      final Vector<Integer> inputVector = new Vector<>();
      for (int i = 0; i < dimension; i++) {
        inputVector.add(i);
      }
  
      final List<VortexFuture<Integer>> futures = new ArrayList<>();
      final AddOneFunction addOneFunction = new AddOneFunction();
      for (final int i : inputVector) {
        futures.add(vortexThreadPool.submit(addOneFunction, i));
      }
  
      final Vector<Integer> outputVector = new Vector<>();
      for (final VortexFuture<Integer> future : futures) {
        try {
          outputVector.add(future.get());
        } catch (InterruptedException | ExecutionException e) {
          throw new RuntimeException(e);
        }
      }
  
      System.out.println("RESULT:");
      System.out.println(outputVector);
    }
docs: Perform a simple vector calculation on Vortex.