I am adding the following to the HashMap collection after each row in the UI form
Declaration
Map<String, List<String>> map = new HashMap<String, List<String>>(); List<String> valSetOne = new ArrayList<String>(); Code snippet
valSetOne.add("Orange""BMW"); valSetOne.add("Apple""Audi"); map.put("A1", valSetOne); When I am in the second row in UI, I would like to check the above combination exist in the HashMap collection.
How can I check for the combination of values in each row?