Package | Description |
---|---|
org.anchoranalysis.core.cache |
Caching (memozing) calls to a method so an operation does not need to be repeated.
|
org.anchoranalysis.core.identifier.provider.store |
Data structures like
NamedProvider with
supporting for adding new elements. |
Modifier and Type | Method and Description |
---|---|
static <T,E extends Exception> |
CachedSupplier.cache(java.util.function.Supplier<T> suppplier)
Creates a cached-version of a
Supplier . |
static <T,E extends Exception> |
CachedSupplier.cacheChecked(CheckedSupplier<T,E> suppplier)
Creates a cached-version of a
CheckedSupplier . |
Modifier and Type | Method and Description |
---|---|
static <T> CachedSupplier<T,OperationFailedException> |
StoreSupplier.cacheResettable(StoreSupplier<T> supplier)
Memoizes (caches) the supplied object, and returning it with a
CachedSupplier
interface |
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.