TE
科技回声
首页
24小时热榜
最新
最佳
问答
展示
工作
中文
GitHub
Twitter
首页
New features comming in Java 25
2 点
作者
ludovicianul
大约 2 个月前
1 comment
java-man
大约 2 个月前
Stable values are good, though I would rather see a 'lazy' keyword.<p>Something like this:<p><pre><code> private static final lazy Log log = Log.get(); </code></pre> which instantiates the `log` field atomically on the first use.