Project Valhalla's JEP 401 will bring value classes to JDK 28, removing object identity from Java types in a 197,000-line change twelve years in the making ...
If you are fortunate enough to be using JDK 7, the newly available Objects class is the obvious (at least to me) choice for implementing the “common” Java object ...
Don't hold your breath, though – architect Brian Goetz warns devs it will likely still be preview in next LTS release ...
当前正在显示可能无法访问的结果。
隐藏无法访问的结果