title: Get a value from hashtable by a part of its key
body: <p>Say I have a <code>Hashtable&lt;String, Object&gt;</code> with such keys and values:</p>
  
  <pre><code>apple =&gt; 1
  orange =&gt; 2
  mossberg =&gt; 3
  </code></pre>
  
  <p>I can use the standard <code>get</code> method to get 1 by "apple", but what I want is getting the same  value (or a list of values) by a part of the key, for example "ppl". Of course it may yield several results,  in this case I want to be able to process each key-value pair. So basically similar to the <code>LIKE '%ppl%'</code> SQL statement, but I don't want to use a (in-memory) database just because I don't want to add unnecessary complexity. What would you recommend?</p>
  
  <p><strong>Update:</strong>
  Storing data in a Hashtable isn't a requirement. I'm seeking for a kind of a general approach to solve this.</p>