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