Answer the question
In order to leave comments, you need to log in
Is it possible to use an operator in a branch as a parameter or attribute?
This of course sounds quite absurd. But it would greatly simplify the situation in the crafts of the CEP rules.
The bottom line is that there is a HashMap of this type. HashMap(String ID, new ClassA<Double Value,....>)
reading a huge amount of data, you need to constantly check them with a value pettern. Depending on the id, this can be
>, <, ==, <=, >= and even modulo. So instead of if (map.get(ID).getValue < value)
and so tons of times for every need, you need to do something like
map.get(ID).getValue class.getCONDITION value)
map.get(ID).getValue class.getCONDITION value)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question