void (Object parent, String key, int index) { Object target = get(parent, key); for (int i = 0; i < index; i++) { target = get(parent = target, key = ":next"); } set(parent, key, get(target, ":next")); set(target, ":next", null); }