Interface CacheSupplier<T extends FeatureInput,E extends Exception>
- Type Parameters:
T
- feature input typeE
- an exception the supplier may throw
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Supplies a
LRUCache
that maps a feature input-type to a corresponding to FeatureCalculationInput
.- Author:
- Owen
-
Method Summary
-
Method Details
-
get
Gets the cache.- Returns:
- the cache.
- Throws:
E
- if unable to get the cache.
-