Class MemoizedSupplierImpl<T>
java.lang.Object
org.aksw.commons.util.memoize.MemoizedSupplierImpl<T>
- All Implemented Interfaces:
Supplier<T>, Memoized<Void,T>, MemoizedSupplier<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidClear the cacheget()getCache()Return a reference or copy to the memoized entriesstatic <T> MemoizedSupplier<T>
-
Field Details
-
supplier
-
cache
-
-
Constructor Details
-
MemoizedSupplierImpl
-
-
Method Details
-
of
-
get
-
getCache
-
clearCache
public void clearCache()Description copied from interface:MemoizedClear the cache- Specified by:
clearCachein interfaceMemoized<Void,T>
-