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

Method transform

corpus/java/training/guava/collect/Maps.java:884–887  ·  view source on GitHub ↗
(final K key)

Source from the content-addressed store, hash-verified

882 Set<K> set, final Function<? super K, V> function) {
883 return new TransformedIterator<K, Entry<K, V>>(set.iterator()) {
884 @Override
885 Entry<K, V> transform(final K key) {
886 return immutableEntry(key, function.apply(key));
887 }
888 };
889 }
890

Callers

nothing calls this directly

Calls 2

immutableEntryMethod · 0.95
applyMethod · 0.65

Tested by

no test coverage detected