Hi RĂ©mi, On 2020-02-07 15:21, Remi Forax wrote:
Hi Claes, looks good,
thanks!
it can be written in a less Doug Lea-ish way like this V v = get(key); return (v != null)? v: default; I believe it using the same number of bytecodes :) with a ALOAD instead of a DUP
yes, but I have no strong preference. It did feel reasonable to keep it in the same style as the implementation I override. /Claes