- Common ways to obtain CaffeineCache$PutIfAbsentFunction
private void myMethod () {CaffeineCache$PutIfAbsentFunction c =
CaffeineCache value;new PutIfAbsentFunction(value)
- Smart code suggestions by Codota
}
@Override @Nullable public ValueWrapper putIfAbsent(Object key, @Nullable final Object value) { PutIfAbsentFunction callable = new PutIfAbsentFunction(value); Object result = this.cache.get(key, callable); return (callable.called ? null : toValueWrapper(result)); }
@Override @Nullable public ValueWrapper putIfAbsent(Object key, @Nullable final Object value) { PutIfAbsentFunction callable = new PutIfAbsentFunction(value); Object result = this.cache.get(key, callable); return (callable.called ? null : toValueWrapper(result)); }
@Override public ValueWrapper putIfAbsent(Object key, final Object value) { PutIfAbsentFunction callable = new PutIfAbsentFunction(value); Object result = this.cache.get(key, callable); return (callable.called ? null : toValueWrapper(result)); }