[ad_1]
Returning values based on a key is precisely what maps are for.
To retrieve your value you can simply do:
short returnVal = map.get("String2");
[ad_2]
solved Search without iterator for Map [closed]
[ad_1]
Returning values based on a key is precisely what maps are for.
To retrieve your value you can simply do:
short returnVal = map.get("String2");
[ad_2]
solved Search without iterator for Map [closed]