Getting subset of elements from array having same value
<p>Is there any collection API method that extracts the same elements from array or collection?</p>

<p>for example SomeClass.getElements("Test") should return subset of an array that holds elements with value "Test".</p>

<p>Reason for asking this question is because I want to avoid my own traverse and condition checks.</p>

<p>Regards,<br>
<b>Sudhakar</b></p>
