使用
Stream.map()
、
CompletableFuture.thenApply()
或类似运算将在 lambda 运算中声明的变量提取到单独的映射步骤。