开发者

What is the point of static {} inside a Groovy class?

开发者 https://www.devze.com 2023-04-02 02:42 出处:网络
Wha开发者_如何学Pythont effect does static {} have? There is one such code block in SimpleXlsSlurper for example.There is no point in having an empty static initializer, neither in Java nor in Groovy

Wha开发者_如何学Pythont effect does static {} have?

There is one such code block in SimpleXlsSlurper for example.


There is no point in having an empty static initializer, neither in Java nor in Groovy.

0

精彩评论

暂无评论...
验证码 换一张
取 消