Class ODocumentComparator
java.lang.Object
com.orientechnologies.orient.core.record.impl.ODocumentComparator
- All Implemented Interfaces:
Comparator<OIdentifiable>
Comparator implementation class used by ODocumentSorter class to sort documents following dynamic
criteria.
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
-
Constructor Summary
ConstructorsConstructorDescriptionODocumentComparator(List<OPair<String, String>> iOrderCriteria, OCommandContext iContext) -
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
-
Constructor Details
-
ODocumentComparator
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<OIdentifiable>
-