|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.saxon.sort.ComparisonKey
An object used as a comparison key. Two XPath atomic values are equal under the "eq" operator if and only if their comparison keys are equal under the Java equals() method.
| Constructor Summary | |
ComparisonKey(int category,
java.lang.Object value)
Create a comparison key for a value in a particular category. |
|
| 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 ComparisonKey(int category,
java.lang.Object value)
category - the categoryvalue - the value within the category| Method Detail |
public boolean equals(java.lang.Object other)
other - the other comparison key
java.lang.ClassCastException - if the other object is not a ComparisonKeypublic int hashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||