title: how to search like LIKe operator in sql in hash map in java
body: <p>I want to search a hash map depending on the user input. Suppose a user give value 'A',I have to display starting with A company name and if user give value 'AB' I have to display starting with AB company name. I am storing company name in hash map</p>