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

Method keyIterator

corpus/java/training/guava/collect/Maps.java:115–117  ·  view source on GitHub ↗
(Iterator<Entry<K, V>> entryIterator)

Source from the content-addressed store, hash-verified

113 }
114
115 static <K, V> Iterator<K> keyIterator(Iterator<Entry<K, V>> entryIterator) {
116 return Iterators.transform(entryIterator, Maps.<K>keyFunction());
117 }
118
119 static <K, V> Iterator<V> valueIterator(Iterator<Entry<K, V>> entryIterator) {
120 return Iterators.transform(entryIterator, Maps.<V>valueFunction());

Callers 4

iteratorMethod · 0.95
containsKeyImplMethod · 0.95
iteratorMethod · 0.95
iteratorMethod · 0.45

Calls 2

transformMethod · 0.95
keyFunctionMethod · 0.95

Tested by

no test coverage detected