/guava/guava/src/com/google/common/collect/Maps.java
return new TransformedIterator<K, Entry<K, V>>( set.spliterator( ) ) {
return new TransformedIterator<K, Entry<K, V>> ( set.iterator ( ) ) {
checkNotNull(action); backingSet().forEach(k -> action.accept(k, function.apply(k))); } } static <K extends @Nullable Object, V extends @Nullable Object> Iterator<Entry<K, V>> asMapEntryIterator(Set<K> set, final Function<? super K, V> function) { <extra_id_0> @Override Entry<K, V> transform(@ParametricNullness final K key) { return immutableEntry(key, function.apply(key)); } }; }