Modifier and Type | Method and Description |
---|---|
static <A,B> java.util.function.Function<A,B> |
memoize(java.util.function.Function<A,B> function)
Thread-safe memoizer: computed value is cached and taken from cache on the second call.
|
public static <A,B> java.util.function.Function<A,B> memoize(java.util.function.Function<A,B> function)