If you want to add multiple numbers to a set with one method, try this:
Map> map; // Definition
public void addValues(String key, Integer... values) {
map.get(key).addAll(values);
}
This way, when you need to add a bunch of numbers for a key you can make a call like this:
addValues("apple", 1, 2, 4, 6, 8);
One line instead of 5.