View Single Post
  #3 (permalink)  
Old 01-07-2008, 10:32 PM
bluekswing bluekswing is offline
Member
 
Join Date: Jun 2007
Posts: 14
bluekswing is on a distinguished road
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!
Reply With Quote