I have a hashmap (hmA) that I loop through assigning values to the index.
Example:
hmA[0] = 02
hmA[1] = 04
hmA[2] = 02
What I am looking to do is, if the value already exists in the hashmap, place that value in a second hashmap (hmB). The reason I am trying to do this is because I am placing values onto an excel sheet and depending on if the values appear once or twice (like 02 in this case), I place a set of values in specific locations of my excel sheet.
Thanks for the help