java.lang.Object | |
↳ | com.microstrategy.webapi.utils.MergeOrderedLists |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MergeOrderedLists() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static <T extends Comparable<T>> List<T> |
merge(List<T> iList0, List<T> iList1)
merge takes two already ordered lists and merges them into one ordered list in N time.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
merge takes two already ordered lists and merges them into one ordered list in N time. If input lists are null, then no merge is needed. If both lists are null an empty list is returned. If the input lists are not ordered, then unpredictable results are returned.