Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.comment.impl
Class CommentSorter

java.lang.Object
  extended by org.nuxeo.ecm.platform.comment.impl.CommentSorter
All Implemented Interfaces:
Serializable, Comparator<DocumentModel>, Sorter

public class CommentSorter
extends Object
implements Sorter

See Also:
Serialized Form

Constructor Summary
CommentSorter(boolean asc)
           
 
Method Summary
 int compare(DocumentModel doc1, DocumentModel doc2)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

CommentSorter

public CommentSorter(boolean asc)
Method Detail

compare

public int compare(DocumentModel doc1,
                   DocumentModel doc2)
Specified by:
compare in interface Comparator<DocumentModel>

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.