Class RowPathComparator
- java.lang.Object
-
- org.apache.jackrabbit.core.query.lucene.join.RowPathComparator
-
- All Implemented Interfaces:
Comparator<Row>
public class RowPathComparator extends Object implements Comparator<Row>
Comparator forRow
instances that looks only at the node paths.
-
-
Constructor Summary
Constructors Constructor Description RowPathComparator()
RowPathComparator(Collection<String> selectors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Row a, Row b)
Compares two rows.-
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
-
RowPathComparator
public RowPathComparator(Collection<String> selectors)
-
RowPathComparator
public RowPathComparator()
-
-
Method Detail
-
compare
public int compare(Row a, Row b)
Compares two rows.- Specified by:
compare
in interfaceComparator<Row>
-
-