Class TwoStepMapper.SimpleCache<K,V>

java.lang.Object
org.ojalgo.type.function.TwoStepMapper.SimpleCache<K,V>
All Implemented Interfaces:
TwoStepMapper<K,Map<K,V>>, TwoStepMapper.Combineable<K,Map<K,V>,TwoStepMapper.SimpleCache<K,V>>, TwoStepMapper.Mergeable<K,Map<K,V>>
Enclosing interface:
TwoStepMapper<T,R>

public static final class TwoStepMapper.SimpleCache<K,V> extends Object implements TwoStepMapper.Combineable<K,Map<K,V>,TwoStepMapper.SimpleCache<K,V>>, TwoStepMapper.Mergeable<K,Map<K,V>>
Will calculate the function value for each input item, and cache the result. The cache is used to avoid re-calculating the same value multiple times. The final result is a complete map of all input output pairs.