python748 / alternate-java-bridge-library

Automatically exported from code.google.com/p/alternate-java-bridge-library
Apache License 2.0
0 stars 0 forks source link

HashMap.containsValue not returning true when it should #163

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  Create a new Hashmap that contains a value in it of "123456789"
2.  run boolean test = Hashmap.containsValue("123456789";

What is the expected output? What do you see instead?
I expect test to be equal to true, it is not, it equals false

What version of the product are you using? On what operating system?
latest jar as of 5/23/13, win 7x64

Please provide any additional information below.

Original issue reported on code.google.com by bric...@gmail.com on 23 May 2013 at 12:32

GoogleCodeExporter commented 8 years ago
??

Hashmap is a java class. What exactly are you doing?

Original comment by IMPINC...@gmail.com on 23 May 2013 at 3:55

GoogleCodeExporter commented 8 years ago
i have a hashmap with a number of paired values, lets say one of them is 
this=1234

I do a HashMap.containsValue("1234") and it comes back as false.

Original comment by bric...@gmail.com on 23 May 2013 at 3:59

GoogleCodeExporter commented 8 years ago
well if it's an integer, don't wrap it in quotes.

Original comment by IMPINC...@gmail.com on 23 May 2013 at 4:21

GoogleCodeExporter commented 8 years ago
Its a string, not an integer
On May 23, 2013 12:21 PM, <alternate-java-bridge-library@googlecode.com>
wrote:

Original comment by bric...@gmail.com on 23 May 2013 at 4:24

GoogleCodeExporter commented 8 years ago
Actually. Thats wrong. I believe it is an integer. I will test that out.

Original comment by bric...@gmail.com on 23 May 2013 at 4:24

GoogleCodeExporter commented 8 years ago
Either way, it's not something that belongs in the issues list of the AltBridge.

Original comment by IMPINC...@gmail.com on 23 May 2013 at 4:37