|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.core.api.impl.DocumentModelTreeNodeComparator
public class DocumentModelTreeNodeComparator
Comparator to sort a document tree using titles.
Constructor Summary | |
---|---|
DocumentModelTreeNodeComparator(java.util.Map<java.lang.String,java.lang.String> titles)
Expecting a path/title mapping. |
Method Summary | |
---|---|
int |
compare(DocumentModelTreeNodeImpl node1,
DocumentModelTreeNodeImpl node2)
|
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 |
---|
public DocumentModelTreeNodeComparator(java.util.Map<java.lang.String,java.lang.String> titles)
titles
- Method Detail |
---|
public int compare(DocumentModelTreeNodeImpl node1, DocumentModelTreeNodeImpl node2)
compare
in interface java.util.Comparator<DocumentModelTreeNodeImpl>
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |