public class NodePropertyComparator extends DefaultComparator
Modifier and Type | Field and Description |
---|---|
protected String |
m_rowVariable
The row variable name
|
protected ISortInfo |
m_sortInfo
Reference to the sort info
|
m_ascending, m_collator
Constructor and Description |
---|
NodePropertyComparator(ISortInfo sort,
String rowVar)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
compare(javax.jcr.Node o1,
javax.jcr.Node o2)
Compares the two nodes
|
int |
compare(Object o1,
Object o2)
Compares the two objects
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
protected ISortInfo m_sortInfo
protected String m_rowVariable
public int compare(Object o1, Object o2)
compare
in interface Comparator<Object>
compare
in class DefaultComparator
public int compare(javax.jcr.Node o1, javax.jcr.Node o2)