public class MergeSort extends Object
Constructor and Description |
---|
MergeSort(int[] data,
IntComparator comparator) |
public MergeSort(int[] data, IntComparator comparator)
public int[] getSortedData()
public long sort()
data
array.
This implements a non-recursive merge sort.
Copyright © 2014–2022 ImageJ. All rights reserved.