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