|
Thanks roots! Ugh - I thought I finally nailed a problem I've been having.
I'm trying to create a list of "IF-Then" conditions regarding some varibles for java to check. I want to be able to dynamically create these conditions and not hard code them in some class. I'm attempting to create "rule objects" that can be stored in some List data structure and can be executed when needed.
I"m having a terrible time figuring out how to construct such an object. ANy thoughts or suggestions?
For example, I want one of the rules on the list (rule object) to be "If x > y add 1 to sum". Any thoughts suggestions?
Thanks again for the help!
|