public class CommentSorter extends Object implements Sorter
| Constructor and Description |
|---|
CommentSorter(boolean asc) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(DocumentModel doc1,
DocumentModel doc2) |
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 CommentSorter(boolean asc)
public int compare(DocumentModel doc1, DocumentModel doc2)
compare in interface Comparator<DocumentModel>Copyright © 2019 Nuxeo. All rights reserved.