X - Type of inputY - Type of outputpublic final class StickyFunc<X,Y> extends Object implements Func<X,Y>
This Func decorator technically is an in-memory
cache.
Pay attention that this class is not thread-safe. It is highly
recommended to always decorate it with SyncFunc.
There is no thread-safety guarantee.
StickyScalarFunc.NoNulls<X,Y>| Constructor and Description |
|---|
StickyFunc(Func<X,Y> fnc)
Ctor.
|
StickyFunc(Func<X,Y> fnc,
int max)
Ctor.
|
Copyright © 2017–2018 Cactoos. All rights reserved.