Uses of Interface
aQute.bnd.memoize.CloseableMemoize
-
Packages that use CloseableMemoize Package Description aQute.bnd.memoize -
-
Uses of CloseableMemoize in aQute.bnd.memoize
Methods in aQute.bnd.memoize that return CloseableMemoize Modifier and Type Method Description CloseableMemoize<S>
CloseableMemoize. accept(java.util.function.Consumer<? super S> consumer)
Call the consumer with the value of this memoizing supplier.static <T extends java.lang.AutoCloseable>
CloseableMemoize<T>CloseableMemoize. closeableSupplier(java.util.function.Supplier<? extends T> supplier)
Creates an AutoCloseable supplier which memoizes the AutoCloseable value returned by the specified supplier.CloseableMemoize<S>
CloseableMemoize. ifPresent(java.util.function.Consumer<? super S> consumer)
If a value is memoized, call the consumer with the value of this memoizing supplier.
-