groovy / 4.0.0 / org / codehaus / groovy / runtime / memoize / memoizecache.valueprovider.html /

[Java] Interface MemoizeCache.ValueProvider<K, V>

@FunctionalInterface
public interface MemoizeCache.ValueProvider<K, V>

Represents a provider used to create value

Type Parameters:
K - type of the key
V - type of the value

Methods Summary

Methods
Type Params Return Type Name and description
public V provide(K key)
Provide the created value

Method Detail

public V provide(K key)

Provide the created value

© 2003-2022 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/4.0.0/html/gapi/org/codehaus/groovy/runtime/memoize/MemoizeCache.ValueProvider.html