memoize library

Functions

imemo1<A, R>(Func1<A, R> func) Func1<A, R>
Checks 1 argument for equality with identical call and returns the cached result if it was not changed.
imemo10<A, B, C, D, E, F, G, H, I, J, R>(Func10<A, B, C, D, E, F, G, H, I, J, R> func) Func10<A, B, C, D, E, F, G, H, I, J, R>
Checks 10 arguments for equality with identical call and returns cached result if they were not changed.
imemo2<A, B, R>(Func2<A, B, R> func) Func2<A, B, R>
Checks 2 arguments for equality with identical call and returns the cached result if they were not changed.
imemo3<A, B, C, R>(Func3<A, B, C, R> func) Func3<A, B, C, R>
Checks 3 arguments for equality with identical call and returns the cached result if they were not changed.
imemo4<A, B, C, D, R>(Func4<A, B, C, D, R> func) Func4<A, B, C, D, R>
Checks 4 arguments for equality with identical call and returns the cached result if they were not changed.
imemo5<A, B, C, D, E, R>(Func5<A, B, C, D, E, R> func) Func5<A, B, C, D, E, R>
Checks 5 arguments for equality with identical call and returns cached result if they were not changed.
imemo6<A, B, C, D, E, F, R>(Func6<A, B, C, D, E, F, R> func) Func6<A, B, C, D, E, F, R>
Checks 6 arguments for equality with identical call and returns cached result if they were not changed.
imemo7<A, B, C, D, E, F, G, R>(Func7<A, B, C, D, E, F, G, R> func) Func7<A, B, C, D, E, F, G, R>
Checks 7 arguments for equality with identical call and returns cached result if they were not changed.
imemo8<A, B, C, D, E, F, G, H, R>(Func8<A, B, C, D, E, F, G, H, R> func) Func8<A, B, C, D, E, F, G, H, R>
Checks 8 arguments for equality with identical call and returns cached result if they were not changed.
imemo9<A, B, C, D, E, F, G, H, I, R>(Func9<A, B, C, D, E, F, G, H, I, R> func) Func9<A, B, C, D, E, F, G, H, I, R>
Checks 9 arguments for equality with identical call and returns cached result if they were not changed.
memo0<R>(Func0<R> func) Func0<R>
Lazy evaluates function and returns cached result on each call.
memo1<A, R>(Func1<A, R> func) Func1<A, R>
Checks 1 argument for equality with == operator and returns the cached result if it was not changed.
memo10<A, B, C, D, E, F, G, H, I, J, R>(Func10<A, B, C, D, E, F, G, H, I, J, R> func) Func10<A, B, C, D, E, F, G, H, I, J, R>
Checks 10 arguments for equality with == operator and returns cached result if it was not changed.
memo2<A, B, R>(Func2<A, B, R> func) Func2<A, B, R>
Checks 2 arguments for equality with == operator and returns the cached result if they were not changed.
memo3<A, B, C, R>(Func3<A, B, C, R> func) Func3<A, B, C, R>
Checks 3 arguments for equality with == operator and returns the cached result if they were not changed.
memo4<A, B, C, D, R>(Func4<A, B, C, D, R> func) Func4<A, B, C, D, R>
Checks 4 arguments for equality with == operator and returns the cached result if they were not changed.
memo5<A, B, C, D, E, R>(Func5<A, B, C, D, E, R> func) Func5<A, B, C, D, E, R>
Checks 5 arguments for equality with == operator and returns the cached result if it was not changed.
memo6<A, B, C, D, E, F, R>(Func6<A, B, C, D, E, F, R> func) Func6<A, B, C, D, E, F, R>
Checks 6 arguments for equality with == operator and returns the cached result if it was not changed.
memo7<A, B, C, D, E, F, G, R>(Func7<A, B, C, D, E, F, G, R> func) Func7<A, B, C, D, E, F, G, R>
Checks 7 arguments for equality with == operator and returns the cached result if it was not changed.
memo8<A, B, C, D, E, F, G, H, R>(Func8<A, B, C, D, E, F, G, H, R> func) Func8<A, B, C, D, E, F, G, H, R>
Checks 8 arguments for equality with == operator and returns the cached result if it was not changed.
memo9<A, B, C, D, E, F, G, H, I, R>(Func9<A, B, C, D, E, F, G, H, I, R> func) Func9<A, B, C, D, E, F, G, H, I, R>
Checks 9 arguments for equality with == operator and returns the cached result if it was not changed.