public class CompositeOrder extends Object implements Order
Example:
<oderBy>
<orderByClass>...</orderByClass>
<orderByQualifedName>...</orderByQualifedName>
</orderBy>
| Constructor and Description |
|---|
CompositeOrder() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Order next)
List the nested comparators.
|
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 CompositeOrder()
public void add(Order next)
next - non-null order to applypublic int compare(javax.jmi.reflect.RefBaseObject o1, javax.jmi.reflect.RefBaseObject o2)
compare in interface Comparator<javax.jmi.reflect.RefBaseObject>Copyright © 2001–2018 MDA Tools. All rights reserved.