Uses of Interface
aQute.lib.memoize.Memoize

Packages that use Memoize
Package
Description
 
  • Uses of Memoize in aQute.lib.memoize

    Subinterfaces of Memoize in aQute.lib.memoize
    Modifier and Type
    Interface
    Description
    interface 
    Closable memoizing supplier.
    Methods in aQute.lib.memoize that return Memoize
    Modifier and Type
    Method
    Description
    default Memoize<S>
    Memoize.accept(Consumer<? super S> consumer)
    Call the consumer with the value of this memoizing supplier.
    default Memoize<S>
    Memoize.filter(Predicate<? super S> predicate)
    Filter this memoizing supplier to a new memoizing supplier.
    default <R> Memoize<R>
    Memoize.flatMap(Function<? super S,? extends Supplier<? extends R>> mapper)
    Flat map this memoizing supplier to a new memoizing supplier.
    default <R> Memoize<R>
    Memoize.map(Function<? super S,? extends R> mapper)
    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>
    Memoize.supplier(Function<? super T,? extends R> function, T argument)
    Creates a supplier which memoizes the value returned by the specified function applied to the specified argument.
    static <T> Memoize<T>
    Memoize.supplier(Supplier<? extends T> supplier)
    Creates a supplier which memoizes the value returned by the specified supplier.