[android-developers] key from value in hash table

2011-08-10 Thread sktniran
Hi is it there any way to retrive key from value in hashtable? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] key from value in hash table

2011-08-10 Thread TreKing
On Wed, Aug 10, 2011 at 7:19 AM, sktniran sktniranjanad...@gmail.comwrote: is it there any way to retrive key from value in hashtable? Assuming the value is unique, walk the list by key until your find the value you're looking for. Obviously, this is slow and not how a hashtable is meant to be

Re: [android-developers] key from value in hash table

2011-08-10 Thread Nick Risaro
On Wed, Aug 10, 2011 at 10:19 AM, TreKing treking...@gmail.com wrote: On Wed, Aug 10, 2011 at 7:19 AM, sktniran sktniranjanad...@gmail.comwrote: is it there any way to retrive key from value in hashtable? Assuming the value is unique... ... you can build another map and keep both

Re: [android-developers] key from value in hash table

2011-08-10 Thread Daniel Drozdzewski
On 10 August 2011 14:19, TreKing treking...@gmail.com wrote: On Wed, Aug 10, 2011 at 7:19 AM, sktniran sktniranjanad...@gmail.com wrote: is it there any way to retrive key from value in hashtable? Assuming the value is unique, walk the list by key until your find the value you're looking