public interface Sortable<E>
Modifier and Type | Method and Description |
---|---|
void |
sort(Comparator<E> comparator)
Sorts collection of elements represented by this sortable according
to the specified comparator.
|
void sort(Comparator<E> comparator)
comparator
- the comparator used to sort the collection
of elements represented by this sortable.Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.