|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.saxon.expr.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 category| Method Detail |
|---|
public boolean equals(Object other)
equals in class Objectother - 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 | ||||||||