public class OrderByField extends Object implements Order
| Constructor and Description |
|---|
OrderByField(String fieldName) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(javax.jmi.reflect.RefBaseObject o1,
javax.jmi.reflect.RefBaseObject o2) |
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 OrderByField(String fieldName)
fieldName - is the non-null name to sort elements uponpublic int compare(javax.jmi.reflect.RefBaseObject o1, javax.jmi.reflect.RefBaseObject o2)
compare in interface Comparator<javax.jmi.reflect.RefBaseObject>Comparator.compare(java.lang.Object, java.lang.Object)Copyright © 2001–2018 MDA Tools. All rights reserved.