Interface CacheSupplier<T extends FeatureInput,​E extends Exception>

Type Parameters:
T - feature input type
E - 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.

@FunctionalInterface
public interface CacheSupplier<T extends FeatureInput,​E extends Exception>
Supplies a LRUCache that maps a feature input-type to a corresponding to FeatureCalculationInput.
Author:
Owen
  • Method Summary

    Modifier and Type Method Description
    Optional<org.anchoranalysis.core.cache.LRUCache<T,​FeatureCalculationInput<T>>> get()
    Gets the cache.