我见过一些 takeWhile Java 8 流API 的实现,但它们似乎都将流转换为非并行流。例如this一: static <T> Spliterator<T> takeWhile( Spliterator<T> splitr, ...
確定! 回上一頁