go top

singleton variable

  • 独存放变数

专业释义英英释义

  • 独存放变数
  • 独存放变数

·2,447,543篇论文数据,部分数据来源于NoteExpress

Singleton variable

  • abstract: In computer programming a singleton variable is a variable that is referred to only once.

以上来源于: WordNet

双语例句

  • The DefaultDAO class stores an instance of itself (as a Singleton) in the static variable instance, allowing access to that instance through the getInstance() method.

    DefaultDAO静态变量 instance 中存储了它自己一个实例(存储 Singleton),并允许通过 getInstance() 方法访问实例。

    youdao

  • This line of code creates a Singleton object and initializes the variable instance to refer to this object.

    此行代码创建了一个Singleton对象初始变量instance引用对象。

    youdao

  • The problem with this line of code is that the variable instance can become non-null before the body of the Singleton constructor executes.

    代码问题:在Singleton构造函数执行之前变量instance可能成为非null

    youdao

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

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

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