public abstract class Sorter<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Sorter.QuickSorter<T>
Sorter implementation for QuickSort.
|
| Modifier and Type | Field and Description |
|---|---|
protected Comparator<? super T> |
c |
| Modifier | Constructor and Description |
|---|---|
protected |
Sorter(Comparator<? super T> c) |
| Modifier and Type | Method and Description |
|---|---|
static <T> Sorter<T> |
create(int length,
Comparator<? super T> comp) |
abstract void |
sort(T[] array,
int start,
int end) |
protected final Comparator<? super T> c
protected Sorter(Comparator<? super T> c)
public static <T> Sorter<T> create(int length, Comparator<? super T> comp)
public abstract void sort(T[] array, int start, int end)
Copyright © 2010-2016 Stardog Union. All Rights Reserved.