Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
package io.stream;
import java.util.stream.IntStream;
public class IntStreamExample {
public static void main(String[] args) {
IntStream.range(0, 10).forEach(System.out::println);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment