title: Evaluate at runtime if a series of boolean conditions is valid or not
body: <p>I have a list of boolean conditions like <code>== 4</code>, <code>&lt; 5</code>, <code>&gt; 1</code> and so on. Now what I would like to know if a series of and constraints is possible. Lets say <code>&lt; 5 &gt; 1</code> is possible while <code>&lt; 5 &gt; 9</code> is not. I have thought of feeding the strings into nashorn but this brings me nowhere. How can I achieve this? Or is there any library out there doing the job?</p>
  
  <p>EDIT: I have exactly 3 operators ==, &lt;= and >= and doubles not integers (yes in real life the lesser or higher means lesser/higher equals - but that should not make a difference). Maybe I could scale up doubles i.e. 1022.30 -> 10223</p>