memoization-jcache/src/main/java/de/xn__ho_hia/memoization/jcache/JCacheMemoize.java
public static final <KEY> DoubleSupplier doubleSupplier(
            final DoubleSupplier doubleSupplier,
            final Supplier<KEY> keySupplier) {
        return doubleSupplier(doubleSupplier, keySupplier, createCache(DoubleSupplier.class));
    }
/**
     * <p>
     * Memoizes a {@link DoubleSupplier} in a JCache {@link Cache}.
     * </p>
     * BooleanSupplier
     * <h3>Features</h3>
     * <ul>
     * <li>Default cache</li>
     * <li>Custom cache key</li>
     * </ul>
     *
     * @param <KEY>
     *            The type of the cache key.
     * @param doubleSupplier
     *            The {@link DoubleSupplier} to memoize.
     * @param keySupplier
     *            The {@link Supplier} for the cache key.
     * @return The wrapped {@link DoubleSupplier}.
     */

Memoizes a  DoubleSupplier in a JCache  Cache.

BooleanSupplier
Features

Default cache
Custom cache key


@param 
The type of the cache key.
@param doubleSupplier
The  DoubleSupplier to memoize.
@param keySupplier
The  Supplier for the cache key.
@return The wrapped  DoubleSupplier.
Memoizes a DoubleSupplier in a JCache Cache . BooleanSupplier Features Default cache Custom cache key @param The type of the cache key . @param doubleSupplier The DoubleSupplier to memoize . @param keySupplier The Supplier for the cache key . @return The wrapped DoubleSupplier .
public static final <KEY> DoubleSupplier doubleSupplier(
            final DoubleSupplier doubleSupplier,
            final Supplier<KEY> keySupplier) {
        return doubleSupplier(doubleSupplier, keySupplier, createCache(DoubleSupplier.class));
    }
public static final < KEY > DoubleSupplier doubleSupplier ( final DoubleSupplier doubleSupplier , final Supplier < KEY > keySupplier ) { return doubleSupplier ( doubleSupplier , keySupplier , createCache ( DoubleSupplier . class ) ) ; }
<p>
 Memoizes a {@link DoubleSupplier} in a JCache {@link Cache}.
<p > Memoizes a { @link DoubleSupplier } in a JCache { @link Cache } .