Serializable
, Comparator<Class<?>>
public class OrderComparator extends Object implements Comparator<Class<?>>, Serializable
Order
.Constructor | Description |
---|---|
OrderComparator() |
Modifier and Type | Method | Description |
---|---|---|
int |
compare(Class<?> lhs,
Class<?> rhs) |
|
static Comparator<Class<?>> |
getInstance() |
Returns a singleton instance of this class.
|
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static Comparator<Class<?>> getInstance()
public int compare(Class<?> lhs, Class<?> rhs)
compare
in interface Comparator<Class<?>>
Copyright © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.