@Override
    public V get(Object key) {
        if (!underlyingMap.containsKey(key)) return null;
        B value = underlyingMap.get(key);
        return valueMapping.apply(value);
    }
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