code: public static <K, V> Map<K, V> collectEntries(Iterable<?> self, Map<K, V> collector) {
          return collectEntries(self.iterator(), collector);
      }
docs: A variant of collectEntries for Iterables using the identity closure as the
  transform and a supplied map as the destination of transformed entries.
  
  @param self      an Iterable
  @param collector the Map into which the transformed entries are put
  @return the collector with all transformed values added to it
  @see #collectEntries(Iterator, Map)
  @since 1.8.7