Class RowComparator
- java.lang.Object
-
- org.apache.jackrabbit.core.query.lucene.sort.RowComparator
-
- All Implemented Interfaces:
Comparator<Row>
public class RowComparator extends Object implements Comparator<Row>
Row comparator.
-
-
Constructor Summary
Constructors Constructor Description RowComparator(Ordering[] orderings, OperandEvaluator evaluator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Row a, Row b)
-
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 Detail
-
RowComparator
public RowComparator(Ordering[] orderings, OperandEvaluator evaluator)
-
-
Method Detail
-
compare
public int compare(Row a, Row b)
- Specified by:
compare
in interfaceComparator<Row>
-
-