@Override
        public Entry<K, V> next() {
            Entry<K, B> underlyingEntry = underlyingIterator.next();
            return new AbstractMap.SimpleImmutableEntry<>(underlyingEntry.getKey(),
                valueMapping.apply(underlyingEntry.getValue()));
        }
A map which presents a lightweight view of another "underlying" map. Values in the
underlying map will be translated by a callback before they are returned.
<br>
This class is not internally synchronized. (Typically the underlyingMap is treated as
immutable.)
server-common/src/main/java/org/apache/kafka/server/util/TranslatedValueMapView.java