You could use a map of runnables.
Map<String, Runnable> map = new HashMap();
map.put("method1", new Runnable() { ... });
map.put("method2", new Runnable() { ... });
map.put("method3", new Runnable() { ... });
for (Map.Entry entry : ...) {
map.get(entry.getKey().getSimpleName()).run();
}
I'm guessing you want to pass the entry into the method so you might want a custom interface instead of Runnable.