• The static getInstance method contains the template code for a singleton.

    静态getInstance方法包含单例的模板代码

    youdao

  • Thread 1 exits the synchronized block and returns instance from the getInstance() method.

    线程1退出synchronizedgetInstance()方法返回实例

    youdao

  • The first is an Invoke using getInstance() on element CalendarType, which assigns a value to variable calendar, analogous to what was done in Figure 10.

    第一Invoke使用CalendarType元素getInstance(),为calendar变量分配一个10 中的操作类似。

    youdao

  • 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

  • The getInstance() method first tests to determine if the type under consideration is supported by reflecting an appropriate method: getInt() for an int, getString() for a String, and so on.

    getInstance()方法首先通过反射一个适当的方法测试判断当前考虑类型是否受支持getInt() 对应于intgetString() 对应于String等等

    youdao

  • The getInstance() method first tests to determine if the type under consideration is supported by reflecting an appropriate method: getInt() for an int, getString() for a String, and so on.

    getInstance()方法首先通过反射一个适当的方法测试判断当前考虑类型是否受支持getInt() 对应于intgetString() 对应于String等等

    youdao

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

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

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