go top

singleton method

  • 单例方法

网络释义

  单件方法允许给单个对象增加一个方法

... 单件方法允许给单个对象增加一个方法singleton methods 类宏(Class Macro) 对象拥有一个特有的隐藏类,称为该对象的eigenclass。 ...

基于5个网页-相关网页

双语例句

  • With some implementations of the singleton, you allow writers of subclasses to override methods polymorphically, something not possible with static methods.

    最后,在例模式一些实现方式中,单例的子类能够动态地重载方法,这是静态方法所不能办到的。

    youdao

  • You can access methods on singleton objects similar to how you would call static methods.

    可以调用静态方法一样访问对象的方法。

    youdao

  • You will design the object as a singleton (this design pattern will limit this object to a single instance) and have the appropriate retrieve and store methods to manipulate the cache.

    对象设计个单子实例singleton)(这个设计模式将把这个对象限制一个单个实例中)使用合适的检索存储方法对高速缓存进行操作

    youdao

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

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

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