MCPcopy
hub / github.com/google/guava / valueIterator

Method valueIterator

guava/src/com/google/common/collect/Maps.java:111–120  ·  view source on GitHub ↗
(
      Iterator<Entry<K, V>> entryIterator)

Source from the content-addressed store, hash-verified

109 }
110
111 static <K extends @Nullable Object, V extends @Nullable Object> Iterator<V> valueIterator(
112 Iterator<Entry<K, V>> entryIterator) {
113 return new TransformedIterator<Entry<K, V>, V>(entryIterator) {
114 @Override
115 @ParametricNullness
116 V transform(Entry<K, V> entry) {
117 return entry.getValue();
118 }
119 };
120 }
121
122 /**
123 * Returns an immutable map instance containing the given entries. Internally, the returned map

Callers 6

iteratorMethod · 0.95
containsValueImplMethod · 0.95
iteratorMethod · 0.95
valueIteratorMethod · 0.95
valueIteratorMethod · 0.95
iteratorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected