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