Skip to content

Instantly share code, notes, and snippets.

@Lim79Plus
Created December 27, 2017 12:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lim79Plus/c2b8b93ea96da4877f42b6244ff0f9b2 to your computer and use it in GitHub Desktop.
Save Lim79Plus/c2b8b93ea96da4877f42b6244ff0f9b2 to your computer and use it in GitHub Desktop.
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