static O[] mapToObjectArray(Map map) { new L l; for (O o : keys(map)) { l.add(o); l.add(map.get(o)); } ret toObjectArray(l); } static O[] mapLike mapToObjectArray(O f, Cl l) { O[] array = new[l(l)]; if (array.length != 0) { Iterator it = iterator(l); for i to n: array[i] = it.next(); } ret array; }