title: Java enum search by number range
body: <p>Is it possible to do enum like below</p>
  
  <pre><code>enum {
  
   10  poor
   100  rich
   1000 very_rich
  
  
  }
  </code></pre>
  
  <p>so that when i do search by input value let say 101. it will return "rich"  ?  how to do this in enum? can give example? i do not want to loop entire enum with forloop to get the string_value. possible?</p>