public static < K , V , E > Map < K , V > collectEntries ( Iterator < E > self , @ ClosureParams ( FirstParam . FirstGenericType . class ) Closure < ? > transform ) { return collectEntries ( self , new LinkedHashMap < K , V > ( ) , transform ) ; }
A variant of collectEntries for Iterators .