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, waitsortpublic void sort(String[] array, Comparator<String> c)
ArraySortersort in interface ArraySorterarray - To sortc - Comparator to sort withCopyright © 2003-2024 Virginia Tech. All Rights Reserved.