java - HashMap string key -
java - HashMap string key -
i have bug in android app , can't find what's wrong, there think problematic , need help that.
i have next hashmap
hashmap<string, string> numbers = new hashmap<string, string>();    and i'm inserting info so,
numbers.put("1", "one" ); numbers.put("2", "two" );    then search this,
numbers.get("1");    is correct? please note above working fine except see weird behavior mentioned earlier
update, forgot add together " in put.
no, won't work. should putting , getting same type of keys.
perhaps meant
 numbers.put("1", "one");        java android 
 
  
Comments
Post a Comment