Interface Memoized<I,O>

All Known Subinterfaces:
MemoizedBiFunction<I1,I2,O>, MemoizedFunction<I,O>, MemoizedSupplier<T>
All Known Implementing Classes:
MemoizedBiFunctionImpl, MemoizedFunctionImpl, MemoizedSupplierImpl

public interface Memoized<I,O>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Clear the cache
    Return a reference or copy to the memoized entries
  • Method Details

    • getCache

      Map<I,O> getCache()
      Return a reference or copy to the memoized entries
    • clearCache

      void clearCache()
      Clear the cache