public class FieldComparator extends Object implements Comparator<MField>
| Constructor and Description |
|---|
FieldComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(MField fieldOne,
MField fieldTwo)
排序不能返回0
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(MField fieldOne, MField fieldTwo)
排序不能返回0
compare in interface Comparator<MField>Copyright © 2020. All rights reserved.