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, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public CommentSorter(boolean asc)
public int compare(DocumentModel doc1, DocumentModel doc2)
compare
in interface Comparator<DocumentModel>
Copyright © 2015 Nuxeo SA. All rights reserved.