Package org.aoju.bus.core.compare
Class ReverseCompare<E>
java.lang.Object
org.aoju.bus.core.compare.ReverseCompare<E>
- Type Parameters:
E- 被比较对象类型
- All Implemented Interfaces:
Serializable,Comparator<E>
反转比较器
- Since:
- Java 17+
- Author:
- Kimi Liu
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ReverseCompare
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<E>
-
hashCode
-
equals
-