// apply a function to an iterator static IterableIterator mapIterator(O f, Iterator i) { ret mapI(f, i); } static IterableIterator mapIterator(Iterator i, O f) { ret mapI(i, f); } ifclass IterableIterator static IterableIterator mapIterator(IterableIterator i, O f) { ret mapI((Iterator) i, f); } endif static IterableIterator mapIterator(Iterable i, O f) { ret mapI(i, f); }