void (String action, NodeElement element) { myElementUpdate.computeIfAbsent(element, k -> new ElementEntry(element)).onElementAction(action); if (myElementUpdateHook != null) { myElementUpdateHook.onElementAction(action, element); } }