blob: efc5e8e44a9793031ac3ebfb4030f0bc367cf4d0 [file]
<html>
<body>
Reports non-short-circuit operations consuming an infinite stream. Such operations can only be completed by throwing an exception.
<!-- tooltip end -->
<p>Example:</p>
<p><code>
Stream.iterate(0, i -> i + 1).collect(Collectors.toList())
</code></p>
</body>
</html>