stvn
06/26/2022, 10:31 AMStarr
06/26/2022, 11:18 AManyMatch((T)->Boolean)
sequence/stream terminal op will run the whole pipeline for every element until a matching element is found; no processing will be done on the rest of the stream.
a similar collection op, on the other hand, will run each stage in the pipeline on the whole collection, and then look for something that matches the predicate.ephemient
06/26/2022, 4:08 PMStarr
06/26/2022, 4:13 PMPaul Griffith
06/27/2022, 3:32 PM