public class InsertionSort extends Object implements ArraySorter
Constructor and Description |
---|
InsertionSort() |
Modifier and Type | Method and Description |
---|---|
void |
sort(String[] array,
Comparator<String> c)
This will sort the supplied string array.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
sort
public void sort(String[] array, Comparator<String> c)
ArraySorter
sort
in interface ArraySorter
array
- To sortc
- Comparator to sort withCopyright © 2003-2024 Virginia Tech. All Rights Reserved.