Uses of Interface
aQute.lib.memoize.Memoize
Packages that use Memoize
-
Uses of Memoize in aQute.bnd.build
Fields in aQute.bnd.build declared as MemoizeModifier and TypeFieldDescription(package private) final Memoize<Parameters>
Project.RefreshData.installRepositories
(package private) final Memoize<List<RepositoryPlugin>>
Workspace.WorkspaceData.repositories
Project.resources
-
Uses of Memoize in aQute.lib.memoize
Subinterfaces of Memoize in aQute.lib.memoizeModifier and TypeInterfaceDescriptioninterface
CloseableMemoize<S extends AutoCloseable>
Closable memoizing supplier.Classes in aQute.lib.memoize that implement MemoizeModifier and TypeClassDescription(package private) class
CloseableMemoizingSupplier<T extends AutoCloseable>
The object can exist in one of three states: initial which means neitherget
orclose
has been called.(package private) class
The object can exist in one of two states: initial which meansget
has not been called and memoized holds the wrapped supplier.(package private) class
The object can exist in one of two states: initial which means the source supplier has not been called or has not returned a value acceptable to the predicate and memoized holds the wrapped supplier.(package private) class
The object can exist in one of two states: cleared which means memoized holds a cleared reference.(package private) class
The object can exist in one of two states: expired which means that System.nanoTime is greater than timebound.Methods in aQute.lib.memoize that return MemoizeModifier and TypeMethodDescriptionCall the consumer with the value of this memoizing supplier.Filter this memoizing supplier to a new memoizing supplier.default <R> Memoize<R>
Flat map this memoizing supplier to a new memoizing supplier.default <R> Memoize<R>
Map this memoizing supplier to a new memoizing supplier.static <T> Memoize<T>
Memoize.predicateSupplier
(Supplier<? extends T> supplier, Predicate<? super T> predicate) Creates a supplier which memoizes the first value returned by the specified supplier which is accepted by the specified predicate.static <T> Memoize<T>
Memoize.referenceSupplier
(Supplier<? extends T> supplier, Function<? super T, ? extends Reference<? extends T>> reference) Creates a supplier which memoizes a reference object holding the value returned by the specified supplier.static <T> Memoize<T>
Memoize.refreshingSupplier
(Supplier<? extends T> supplier, long time_to_live, TimeUnit unit) Creates a supplier which memoizes, for the specified time-to-live, the value returned by the specified supplier.static <T,
R> Memoize<R> Creates a supplier which memoizes the value returned by the specified function applied to the specified argument.static <T> Memoize<T>
Creates a supplier which memoizes the value returned by the specified supplier.