Package org.alfresco.repo.virtual.bundle
Class FileInfoPropsComparator
- java.lang.Object
-
- org.alfresco.repo.virtual.bundle.FileInfoPropsComparator
-
- All Implemented Interfaces:
Comparator<FileInfo>
public class FileInfoPropsComparator extends Object implements Comparator<FileInfo>
-
-
Constructor Summary
Constructors Constructor Description FileInfoPropsComparator(List<Pair<QName,Boolean>> sortProps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(FileInfo n1, FileInfo n2)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Field Detail
-
IS_FOLDER
public static final String IS_FOLDER
- See Also:
- Constant Field Values
-
-
Method Detail
-
compare
public int compare(FileInfo n1, FileInfo n2)
- Specified by:
comparein interfaceComparator<FileInfo>
-
-