MCPcopy Index your code
hub / github.com/wyouflf/xUtils3 / create

Method create

xutils/src/main/java/org/xutils/cache/LruCache.java:245–247  ·  view source on GitHub ↗

Called after a cache miss to compute a value for the corresponding key. Returns the computed value or null if no value can be computed. The default implementation returns null. The method is called without synchronization: other threads may access the cache while this method is executing. If a

(K key)

Source from the content-addressed store, hash-verified

243 * key.
244 */
245 protected V create(K key) {
246 return null;
247 }
248
249 private int safeSizeOf(K key, V value) {
250 int result = sizeOf(key, value);

Callers 1

getMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected