I have a big LinkedHashMap<Integer,<List<String>>
.
For example:
<86, ["abc","def","xyz"]>
<32, ["ugy","oop","bbb"]>
<..., ...........]>
What i want is when user type a Comma separated String(e.g "abc,oop,bbb"), i want to print out the key. In these case keys are 86,32,32. I can handle separete the String into an array by using .split(" "); but i don't know what is simplest way to search these Strings ?