|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.sf.saxon.sort.AtomicSortComparer.ComparisonKey
Inner class: an object used as a comparison key. Two XPath atomic values are equal if and only if their comparison keys are equal.
| Constructor Summary | |
AtomicSortComparer.ComparisonKey(int category,
AtomicValue value)
Create a comparison key for a value in a particular category. |
|
AtomicSortComparer.ComparisonKey(int category,
java.text.CollationKey value)
Create a comparison key for strings using a particular collation. |
|
| Method Summary | |
boolean |
equals(java.lang.Object other)
Test if two comparison keys are equal |
int |
hashCode()
Get a hashcode for a comparison key. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AtomicSortComparer.ComparisonKey(int category,
AtomicValue value)
category - the categoryvalue - the value within the category
public AtomicSortComparer.ComparisonKey(int category,
java.text.CollationKey value)
category - Always Type.STRINGvalue - The collation key| Method Detail |
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - the other comparison key
java.lang.ClassCastException - if the other object is not a ComparisonKeypublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||