memoization-core/src/main/java/de/xn__ho_hia/memoization/map/MapMemoize.java
public static <KEY> DoublePredicate doublePredicate(
            final DoublePredicate predicate,
            final DoubleFunction<KEY> keyFunction) {
        return doublePredicate(predicate, keyFunction, emptyMap());
    }
/**
     * <p>
     * Memoizes a {@link DoublePredicate} 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 predicate
     *            The {@link DoublePredicate} to memoize.
     * @param keyFunction
     *            The {@link DoubleFunction} to compute the cache key.
     * @return The wrapped {@link DoublePredicate}.
     */


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