Class ForgetfulMap.ValueCacheImpl<K,V>

java.lang.Object
org.ojalgo.type.ForgetfulMap.ValueCacheImpl<K,V>
All Implemented Interfaces:
ForgetfulMap.ValueCache<V>
Enclosing class:
ForgetfulMap<K,V>

private static final class ForgetfulMap.ValueCacheImpl<K,V> extends Object implements ForgetfulMap.ValueCache<V>
A re-implementation of TypeCache backed by a ForgetfulMap. Essentially it's a supplier that most of the time returns a cached value, and only recomputes it periodically.