请输入您要查询的英文单词:

 

单词 singleton variable
释义
singleton variable
  • 简明释义
  • 独存放变数
  • 网络释义
  • 1

    ?独存放变数

    ... 单件 singleton 独存放变数 singleton variable 单管电视投影机 single-tube tv projector ...

  • 双语例句
  • 1
    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() 方法访问该实例。
  • 2
    This line of code creates a Singleton object and initializes the variable instance to refer to this object.
    此行代码创建了一个Singleton对象并初始化变量instance来引用此对象。
  • 3
    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的。
随便看

 

英汉双解词典包含3185865条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2022 Newdu.com All Rights Reserved
更新时间:2025/8/17 10:48:21