Java 8 Stream 之 short-circuiting
结贴是美德 2017-08-07 11:28:20 An intermediate operation is short-circuiting if, when presented with infinite input, it may produce a finite stream as a result. A terminal operation is short-circuiting if, when presented with infinite input, it may terminate in finite time. Having a short-circuiting operation in the pipeline is a necessary, but not sufficient, condition for the processing of an infinite stream to terminate normally in finite time.
求大神解答一下,充要条件是啥?