Predicate in array
<p>I have an array which contains lots of info like lat,lon,city name etc.But all this info stored by class object.</p>

<pre><code>("&lt;GetCityList: 0x1fd334d0&gt;",
"&lt;GetCityList: 0x1fd33560&gt;",
"&lt;GetCityList: 0x1fd33310&gt;",)
</code></pre>

<p>my array is looking like this.if i want city name then first i create GetCityList object and then object.cityName.
Now i have to search lat and lon by comparing cityName.so how can i do,because it consumes too much time?can i use predicate ?how?</p>
