private static class LookupAttributes.FieldComparator extends Object implements Comparator, Serializable
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
FieldComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object o1,
Object o2)
Sorts superclass fields before subclass fields, and sorts
fields alphabetically within a given class.
|
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, thenComparingLongprivate static final long serialVersionUID
public int compare(Object o1, Object o2)
compare in interface ComparatorCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.