| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xpath.objects.Comparator
org.apache.xpath.objects.EqualComparator
class EqualComparator
Compare strings or numbers for equality.
| Constructor Summary | |
|---|---|
EqualComparator()
 | 
|
| Method Summary | |
|---|---|
(package private)  boolean | 
compareNumbers(double n1,
                             double n2)
Compare two numbers for equality.  | 
(package private)  boolean | 
compareStrings(XMLString s1,
                             XMLString s2)
Compare two strings for equality.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
EqualComparator()
| Method Detail | 
|---|
boolean compareStrings(XMLString s1,
                       XMLString s2)
compareStrings in class Comparators1 - First string to compares2 - Second String to compare
boolean compareNumbers(double n1,
                       double n2)
compareNumbers in class Comparatorn1 - First number to comparen2 - Second number to compare
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||