Lines Matching defs:arg
48 // Computes function.apply(arg) or returns a cached copy of a previous call.
49 public R get(T arg) {
52 SoftReference<R> ref = cache.get(arg);
63 SoftReference<R> ref = cache.get(arg);
68 cache.remove(arg);
70 assert !cache.containsKey(arg);
72 if (pending.add(arg))
84 R result = function.apply(arg);
85 cache.put(arg, new SoftReference<>(result));
89 pending.remove(arg);