Searched refs:valueFactory (Results 1 – 1 of 1) sorted by relevance
67 private final BiFunction<K, P, V> valueFactory; field in WeakCache80 BiFunction<K, P, V> valueFactory) { in WeakCache() argument82 this.valueFactory = Objects.requireNonNull(valueFactory); in WeakCache()230 value = Objects.requireNonNull(valueFactory.apply(key, parameter)); in get()