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
On Wed, Aug 10, 2011 at 7:19 AM, sktniran 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 for. Obviously, this is slow and not how a hashtable is meant
to be used.
--
On Wed, Aug 10, 2011 at 10:19 AM, TreKing wrote:
> On Wed, Aug 10, 2011 at 7:19 AM, sktniran wrote:
>
>> 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 synchronized
--
You received this message bec
On 10 August 2011 14:19, TreKing wrote:
> On Wed, Aug 10, 2011 at 7:19 AM, sktniran
> 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 for. Obviously, this is slow and not how
4 matches
Mail list logo