“绑定包的名称”在 Msg 对象的生命周期内将一直存在,可以通过调用 Msg 对象的 setLocale() 来切换语言环境(默认语言环境是 JVM 使用的语言环境)。
While the bundle base name is fixed for the lifetime of the Msg object, you can switch the locale used by the Msg object by calling its setLocale() method (its default is the JVM's default locale).
在本例中,闭包的生命周期实际上比定义闭包的方法长。
In this case, the closure's lifetime will actually be longer than the method that has defined them.
如此大的一颗行星,有岩石地核以及蓬松的气体层包覆,可能不会维持我们所知的生命。
Such a big planet with a rocky core and a fluffy gaseous envelope probably can't support life as we know it.
应用推荐