Interface MemoizeCache.Function<T>

Type Parameters:
T - The type of the returned value.
Enclosing class:
MemoizeCache<T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface MemoizeCache.Function<T>
Functional interface for calculating memoizable value.
  • Method Summary

    Modifier and Type
    Method
    Description
    call(Object... args)
    Return calculated memoizable value.
  • Method Details

    • call

      T call(@Nonnull Object... args)
      Return calculated memoizable value.
      Parameters:
      args - the functions arguments.
      Returns:
      the value generated by function.