|
||||||||||
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.LessThanComparator
class LessThanComparator
Compare strings or numbers for less than.
Constructor Summary | |
---|---|
LessThanComparator()
|
Method Summary | |
---|---|
(package private) boolean |
compareNumbers(double n1,
double n2)
Compare two numbers for less than. |
(package private) boolean |
compareStrings(XMLString s1,
XMLString s2)
Compare two strings for less than. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
LessThanComparator()
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 |