Skip to content

Instantly share code, notes, and snippets.

Avatar

Divyendra Divyendra

View GitHub Profile
@Divyendra
Divyendra / TestSortedListStreams.java
Last active Sep 8, 2015 — forked from netdance/TestSortedListStreams.java
Various Java methods to create one sorted list from two sorted lists
View TestSortedListStreams.java
package testsortedliststreams;
import java.util.*;
import java.util.stream.*;
/*
Sample output on late-2013 MacBook Pro:
Starting Naive List Sort, via Collections
Total number of sorted values: 40000000