Class CacheAndReuseStrategy<T extends FeatureInput>

Object
org.anchoranalysis.feature.session.replace.CacheAndReuseStrategy<T>
Type Parameters:
T - feature-input type
All Implemented Interfaces:
ReplaceStrategy<T>

public class CacheAndReuseStrategy<T extends FeatureInput>
extends Object
implements ReplaceStrategy<T>
Reuse an existing FeatureCalculationInput, as stored in a least-recently used cache, and without invalidating it.

If no existing input is already stored, create a new one.

Author:
Owen Feehan