@ThreadSafe public class Memoizer<T,R> extends Object
The lifetime of the results is the lifetime of the function.
Modifier and Type | Method and Description |
---|---|
static <T,U,R> BiFunction<T,U,R> |
memoize(BiFunction<T,U,R> function) |
static <T,R> Function<T,R> |
memoize(Function<T,R> function) |
public static <T,U,R> BiFunction<T,U,R> memoize(BiFunction<T,U,R> function)
Copyright © 2003–2021 Atlassian. All rights reserved.