public final class QuickSort extends Object
http://de.wikipedia.org/wiki/Quicksort
Modifier and Type | Method and Description |
---|---|
static <T extends Comparable<? super T>> |
sort(List<T> list)
Sorts the given list according to natural order.
|
static <T> void |
sort(List<T> list,
Comparator<? super T> comparator)
Sorts the given list using the given comparator.
|
public static <T extends Comparable<? super T>> void sort(List<T> list)
public static <T> void sort(List<T> list, Comparator<? super T> comparator)
Copyright © 2019. All rights reserved.