3. forEach() vs forEachOrdered(). forEach()操作的行为明确地是non-deterministic 。 对于并行流管道,此操作不能保证遵守流的遇到顺序。
確定! 回上一頁