public class BubbleSort extends Object implements ArraySorter
Constructor and Description |
---|
BubbleSort() |
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.