net.sf.saxon.sort
public static class AtomicSortComparer.ComparisonKey extends Object
Field Summary | |
---|---|
int | category |
Object | value |
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. |
Parameters: category the category value the value within the category
Parameters: other the other comparison key
Returns: true if they are equal
Throws: ClassCastException if the other object is not a ComparisonKey
Returns: the hash code.