go top

static class members

网络释义

  静态类成员

...} } 在Swift 1.2以后,我们有了访问权限设置(access control specifiers) 的功能和静态类成员(static class members)。这意味着我们终于可以摆脱混乱的全局变量、全局命名空间,也不会发生命名空间冲突了。

基于1个网页-相关网页

有道翻译

static class members

静态类成员

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • Initialize Static Class Members with Static Constructors.

    使用静态构造器初始化静态成员

    youdao

  • With singletons implemented as single instances instead of static class members, you can initialize the singleton lazily, creating it only when it is first used.

    由于单例对象作为实例存在而不是静态成员,所以能够惰性初始例对象,即需要在第一次用时候去创建它。

    youdao

  • You can then store these Settings in static members of the class, making the value available to subsequent messages.

    然后可以这些设置保存静态成员中,以便后续的消息可以使用

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定