IntStream.generate
The generate() method in the IntStream class returns an infinite sequential unordered stream where
each element is generated by the provided IntSupplier.
example To generate stream of random integer.
coder