An OpenJDK proposal would preview value classes and objects in a forthcoming version of Java. The feature would provide Java class instances that have only final fields and lack object identity. The ...
JEP 401, Value Objects (Preview), has been integrated into JDK 28. It introduces identity-free class instances with only final fields, changes how == behaves for ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果