int i = MapHandler.get_next_map_element_index(mc, n);
int i = MapHandler.determine_next_map_element_index(m, p2);
    static void set_map_element(java.lang.Object c, java.lang.Object n, java.lang.Object e) {        Map mc = (Map) c;                if (mc != null) {                        int i = MapHandler.get_next_map_element_index(mc, n);            mc.names = ArrayHandler.set_array_element(mc.names, i, n);            mc.references = ArrayHandler.set_array_element(mc.references, i, e);        } else {            java.lang.System.out.println("ERROR: Could not set element. The map is null.");        }    }