public final class Comparators extends Object
| 构造器和说明 |
|---|
Comparators() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T extends Comparable<? super T>> |
asc() |
static <T extends Comparable<? super T>> |
desc() |
static <T extends Comparable<? super T>> |
order(boolean asc) |
public static final int EQ
public static final int GT
public static final int LT
public static <T extends Comparable<? super T>> Comparator<T> asc()
public static <T extends Comparable<? super T>> Comparator<T> desc()
public static <T extends Comparable<? super T>> Comparator<T> order(boolean asc)
Copyright © 2023. All rights reserved.