|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.saxon.sort.ComparisonKey
public class 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,
Object value)
Create a comparison key for a value in a particular category. |
Method Summary | |
---|---|
boolean |
equals(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, Object value)
category
- the categoryvalue
- the value within the categoryMethod Detail |
---|
public boolean equals(Object other)
equals
in class Object
other
- the other comparison key
ClassCastException
- if the other object is not a ComparisonKeypublic int hashCode()
hashCode
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |