Interface MemoizeCache.ValueProvider<K,​V>

  • Type Parameters:
    K - type of the key
    V - type of the value
    Enclosing interface:
    MemoizeCache<K,​V>
    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.ValueProvider<K,​V>
    Represents a provider used to create value
    • Method Detail

      • provide

        V provide​(K key)
        Provide the created value