Is it possible to check whether all Java 8 stream elements satify one of given predicates?
<p>With stream API I could easily check whether all elements satify a given condition, using <code>allMatch(e -&gt; predicate(e))</code> method. I could also check if any of multiple conditions is satified <code>allMatch(e -&gt; predicateA(e) || predicateB(e) || predicateC(e))</code>. But is it possible to check if all elements satisfy one of those predicates (either one)? In the previous case it is possible that some elements satisfy A and some of them not, but they satisfy B or C (and vice versa).</p>

<p>I could perform <code>allMatch</code> multiple times, but then the stream would be terminated and I would need to repeat the preliminary ones.</p>

<p>I could also devise a tricky reduce operation, but then it would not be able to stop earlier, when the result is obviously false (like the <code>allMatch</code> method does).</p>