title: How to read range values in properties file in Java
body: <p>I want to read values from Properties file as a range of values.
  My Task is, calculating result based on points gained.
  for example,points are,</p>
  
  <pre><code>&lt;100 : some result.
  101 - 110 : Some result.
  111 - 120 : Some result.
  121 - 130 : some result.
  .....
  .....
  991 - 1000 : some result.
  &gt;1000 : some result.
  </code></pre>
  
  <p>Is any way of storing and getting result from Properties file instead of placing [key,value] pair from 1 to 1000, because i may get float values also?
  should i have to write if else statements for all  possible conditions?</p>