Disclaimer: This is a satire, and not meant to be taken any more seriously than Java itself. It is not about Java 8 streams. This satire just shows how easy is to define a very complex endless stream functionally in Java using lambdas.
In Scala:
def naturals: Stream[Int] = 0 #:: naturals.map(_ + 1)