E - The type of element being sorted.public class RandomSorter<E> extends Sorter<E>
| Constructor and Description |
|---|
RandomSorter() |
| Modifier and Type | Method and Description |
|---|---|
void |
sortCollection(SortableCollection<E> collection,
java.util.Comparator<? super E> comparator)
This method sorts the elements of its collection using a specific
sorting algorithm.
|
sortCollectionpublic void sortCollection(SortableCollection<E> collection, java.util.Comparator<? super E> comparator)
SortersortCollection in class Sorter<E>collection - The collection to be sorted.comparator - The comparison function to be used during sorting.Copyright © 2015 Crater Dog Technologies(TM). All rights reserved.