Package org.nuxeo.ecm.core.trash
Class AbstractTrashService.PathComparator
java.lang.Object
org.nuxeo.ecm.core.trash.AbstractTrashService.PathComparator
- All Implemented Interfaces:
Serializable,Comparator<DocumentModel>
- Enclosing class:
AbstractTrashService
protected static class AbstractTrashService.PathComparator
extends Object
implements Comparator<DocumentModel>, Serializable
Path-based comparator used to put folders before their children.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
PathComparator
protected PathComparator()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<DocumentModel>
-