collectToListAsync

open override fun collectToListAsync(): CompletableFuture<out List<T>>

异步收集当前序列中的元素到列表中。

Return

收集而得到的不可变列表。