public class DialogMetaInfoComparator extends Object implements Comparator<DialogMetaInfo>
Constructor and Description |
---|
DialogMetaInfoComparator(VtiSortField sortField,
VtiSort sort)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
compare(DialogMetaInfo o1,
DialogMetaInfo o2)
Sort DialogMetaInfo beans as MS clients do that.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public DialogMetaInfoComparator(VtiSortField sortField, VtiSort sort)
sortField
- field that is used as a key in sortingsort
- sorting type (ascending or descending)public int compare(DialogMetaInfo o1, DialogMetaInfo o2)
compare
in interface Comparator<DialogMetaInfo>
Copyright © 2005–2017 Alfresco Software. All rights reserved.