Java - Search using a part of key word
<p>I have requirement of selecting s subset of data from a collection using a part of a key word</p>

<p>Assume that I have a collection consist of following entries,</p>

<pre><code>"Pine Grosbeak"  
"House Crow"  
"Hume`s Leaf Warbler"  
"Great Northern Loon"  
"Long-tailed Duck"  
"Lapland Longspur"  
"Northern Gannet"  
"Eastern Imperial Eagle"  
"Little Auk"  
"Lesser Spotted Woodpecker"  
"Iceland Gull" 
</code></pre>

<p>When I provide a search string as “ro” following should be filtered;  </p>

<pre><code>"House Crow"  
"Pine Grosbeak"  
</code></pre>

<p>(This is something similar to <code>“LIKE  ‘%ro%’ “</code>  clause in SQL)</p>

<p>Can some one help me on this?</p>
