MCPcopy Create free account
hub / github.com/antlr/codebuff / transform

Method transform

output/java_guava/1.4.17/Maps.java:913–916  ·  view source on GitHub ↗
(final K key)

Source from the content-addressed store, hash-verified

911 static <K, V> Iterator<Entry<K, V>> asMapEntryIterator(Set<K> set, final Function<? super K, V> function) {
912 return new TransformedIterator<K, Entry<K, V>>(set.iterator()) {
913 @Override
914 Entry<K, V> transform(final K key) {
915 return immutableEntry(key, function.apply(key));
916 }
917 };
918 }
919

Callers

nothing calls this directly

Calls 2

immutableEntryMethod · 0.95
applyMethod · 0.65

Tested by

no test coverage detected