Use Hashmap.class instead of creating a empty map?