Skip to content

Instantly share code, notes, and snippets.

@exoego
Created December 12, 2012 02:48
Show Gist options
  • Save exoego/4264431 to your computer and use it in GitHub Desktop.
Save exoego/4264431 to your computer and use it in GitHub Desktop.
final List<Integer> evenList = range(1, 100)
.asParallel()
.map((Func1) (arg) -> {
System.out.print(arg + " ");
return arg * 2;
}).toList();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment