We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#3352,见源码已对此建议进行兼容性扩展,却有遗漏。需要对get方法也进行兼容性扩展。 你好,这里只是修改了containsKey,get方法也需要同步修改 采用以下方式兼容性更强代码也更简洁,望采纳: public Object get(Object key) { return map.get(key==null?key:key.toString()); } public boolean containsKey(Object key) { return map.containsKey(key==null?key:key.toString()); }
The text was updated successfully, but these errors were encountered:
fc52ad0
No branches or pull requests
#3352,见源码已对此建议进行兼容性扩展,却有遗漏。需要对get方法也进行兼容性扩展。
你好,这里只是修改了containsKey,get方法也需要同步修改
采用以下方式兼容性更强代码也更简洁,望采纳:
public Object get(Object key) {
return map.get(key==null?key:key.toString());
}
public boolean containsKey(Object key) {
return map.containsKey(key==null?key:key.toString());
}
The text was updated successfully, but these errors were encountered: