car/src/main/java/androidx/car/navigation/utils/BundleMarshaller.java
private <X> X withKeyPrefix(@NonNull String key, @NonNull Supplier<X> supplier) {
        String originalKeyPrefix = mKeyPrefix;
        mKeyPrefix = mKeyPrefix + key + KEY_SEPARATOR;
        X res = supplier.get();
        mKeyPrefix = originalKeyPrefix;
        return res;
    }
/**
     * Similar to {@link #withKeyPrefix(String, Runnable)} but allows returning a value.
     */
Similar to  #withKeyPrefix(String, Runnable) but allows returning a value.
Similar to #withKeyPrefix ( String Runnable ) but allows returning a value .
private <X> X withKeyPrefix(@NonNull String key, @NonNull Supplier<X> supplier) {
        String originalKeyPrefix = mKeyPrefix;
        mKeyPrefix = mKeyPrefix + key + KEY_SEPARATOR;
        X res = supplier.get();
        mKeyPrefix = originalKeyPrefix;
        return res;
    }
private < X > X withKeyPrefix ( @ NonNull String key , @ NonNull Supplier < X > supplier ) { String originalKeyPrefix = mKeyPrefix ; mKeyPrefix = mKeyPrefix + key + KEY_SEPARATOR ; X res = supplier . get ( ) ; mKeyPrefix = originalKeyPrefix ; return res ; }
Similar to {@link #withKeyPrefix(String, Runnable)} but allows returning a value.
Similar to { @link #withKeyPrefix ( String Runnable ) } but allows returning a value .