E
- 被比较对象类型public class ReverseComparator<E> extends Object implements Comparator<E>, Serializable
Constructor and Description |
---|
ReverseComparator(Comparator<? super E> comparator) |
Modifier and Type | Method and Description |
---|---|
int |
compare(E o1,
E o2) |
boolean |
equals(Object object) |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public ReverseComparator(Comparator<? super E> comparator)
Copyright © 2024. All rights reserved.