title: HashMap<String, Integer> Search for part of an key?
body: <p>I am currently using <code>HashMap&lt;String, Integer&gt;</code> which is filled with keys of type <code>String</code> which are all, let's say, 5 chars long. How can I search for an specific key of 4 chars or less, which is part and at the beginning of some other keys and get all hits as a collection of <code>&lt;Key, Value&gt;</code>?</p>