HCOLL-242 change to use ->     Object o = isKey ? newKeyInstance() : newValueInstance();