public final class Memoizer<I,O> extends Object
| Modifier and Type | Method and Description |
|---|---|
static <I,O> Function<I,O> |
memoize(Function<I,O> function)
Put function computation results into Memoizer
|
public static <I,O> Function<I,O> memoize(Function<I,O> function)
I - the type of the input to the functionO - the type of the output of the functionfunction - represents a function that accepts one argument and produces a resultCopyright © 2021 Microsoft Corporation. All rights reserved.