static void closeAllKeysAndClear(Map map) { closeAllAndClear(keys(map)); }