public static <T extends Comparable<? super T>> List<T> mergeIntoArrayList(List<T> l1, List<T> l2) {
        return mergeIntoArrayList(l1, l2, Integer.MAX_VALUE);
    }
A list merger that merges two sorted lists.

@author Ulf Carlin
container-search/src/main/java/com/yahoo/vespa/streamingvisitors/ListMerger.java