Package com.liferay.portal.kernel.search
Class DocumentComparator
Object
com.liferay.portal.kernel.search.DocumentComparator
- All Implemented Interfaces:
Comparator<Document>
- Author:
- Brian Wing Shun Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addOrderBy
(String name) void
addOrderBy
(String name, boolean ascending) void
addOrderBy
(String name, boolean ascending, boolean caseSensitive) int
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
-
Constructor Details
-
DocumentComparator
public DocumentComparator() -
DocumentComparator
public DocumentComparator(boolean ascending, boolean caseSensitive)
-
-
Method Details
-
addOrderBy
-
addOrderBy
-
addOrderBy
-
compare
- Specified by:
compare
in interfaceComparator<Document>
-