code: public static <R> List<R> applyPathListAndGetResultList(List<Path> pathList,
  			Function<Path, R> function) {
  		return pathList.parallelStream().map(function).collect(toList());
  	}
docs: Apply path list and get result list list.
  
  @param <R>      the type parameter
  @param pathList the path list
  @param function the function
  @return the list