@Status(stage=PRODUCTION, unitTests=COMPLETE) public class FieldComparator extends Object implements Comparator<Field>
Fields.| Constructor and Description |
|---|
FieldComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Field left,
Field right)
Compares the names of the supplied left and right fields.
|
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(Field left, Field right)
compare in interface Comparator<Field>left - The field on the left to compare.right - The field on the right to compare.Copyright © 2008–2017. All rights reserved.