public class MethodComparator extends Object implements Comparator<Method>
Method, the comparison rule :
method names lexicographically.
If equals, go to step 2lexicographically| Modifier and Type | Field and Description |
|---|---|
static MethodComparator |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Method m1,
Method m2) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static final MethodComparator INSTANCE
public int compare(Method m1, Method m2)
compare in interface Comparator<Method>Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.