E - public class ParallelOddEvenSort<E> extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ASC
升序
|
static String |
DESC
降序
|
| Constructor and Description |
|---|
ParallelOddEvenSort() |
public static final String DESC
public static final String ASC
public void sort(List<E> e, String order) throws InterruptedException, NullPointerException
e - 排序集合order - 排序方式InterruptedException - exceptionNullPointerException - exceptionpublic void sort(List<E> e) throws InterruptedException
e - 排序集合InterruptedException - exceptionNullPointerException - exceptionCopyright © 2019. All rights reserved.