Is it possible to have a HashMap return a default value for all keys that are not found in the set?
HashMap
Use:
myHashMap.getOrDefault(key, defaultValue);