invoke

operator fun <T : Any> invoke(itr: Iterator<T>): PeekingIterator<T>(source)

Platform independent method which creates a PeekingIterator based on a given itr.