memoization-core/src/main/java/de/xn__ho_hia/memoization/map/MapMemoize.java
public static <KEY> IntToLongFunction intToLongFunction(
            final IntToLongFunction function,
            final IntFunction<KEY> keyFunction) {
        return intToLongFunction(function, keyFunction, emptyMap());
    }
/**
     * <p>
     * Memoizes a {@link IntToLongFunction} in a {@link java.util.concurrent.ConcurrentMap}.
     * </p>
     * <h3>Features</h3>
     * <ul>
     * <li>Default cache</li>
     * <li>Custom cache key</li>
     * </ul>
     *
     * @param <KEY>
     *            The type of the cache key.
     * @param function
     *            The {@link IntToLongFunction} to memoize.
     * @param keyFunction
     *            The {@link IntFunction} to compute the cache key.
     * @return The wrapped {@link IntToLongFunction}.
     */


@param 
The type of the cache key.
@param function
The  IntToLongFunction to memoize.
@param keyFunction
The  IntFunction to compute the cache key.
@return The wrapped  IntToLongFunction.
@param The type of the cache key . @param function The IntToLongFunction to memoize . @param keyFunction The IntFunction to compute the cache key . @return The wrapped IntToLongFunction .
public static <KEY> IntToLongFunction intToLongFunction(
            final IntToLongFunction function,
            final IntFunction<KEY> keyFunction) {
        return intToLongFunction(function, keyFunction, emptyMap());
    }
public static < KEY > IntToLongFunction intToLongFunction ( final IntToLongFunction function , final IntFunction < KEY > keyFunction ) { return intToLongFunction ( function , keyFunction , emptyMap ( ) ) ; }
<p>
 Memoizes a {@link IntToLongFunction} in a {@link java.util.concurrent.ConcurrentMap}.
<p > Memoizes a { @link IntToLongFunction } in a { @link java . util . concurrent . ConcurrentMap } .