|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.sort.AtomicSortComparer.ComparisonKey
public static class 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.
Field Summary | |
---|---|
(package private) int |
category
|
(package private) java.lang.Object |
value
|
Constructor Summary | |
---|---|
AtomicSortComparer.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 |
Field Detail |
---|
int category
java.lang.Object value
Constructor Detail |
---|
public AtomicSortComparer.ComparisonKey(int category, java.lang.Object value)
category
- the categoryvalue
- the value within the categoryMethod Detail |
---|
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- 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 |