|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Compare
public class Compare
Compare function will compare two strings or numbers. The comparison is case sensitive for strings. (example: "equals a EQ A" returns $equals = "FALSE") It takes the parameters: String parameter String val1 String operator String val2 Possible values for operator are: LT - less than LE - less than or equal to GT - greater than GE - greater than or equal to EQ - equals NE - not equals it prints to the screen $parameter = TRUE or FALSE If the wrong number of arguments is passed or if the operator is not one listed above then it prints out a message and aborts the processing in the ruleset.
Constructor Summary | |
---|---|
Compare()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Compare()
Method Detail |
---|
public static void main(java.lang.String[] args)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |