go top

lazy-initialize

网络释义

  初始化

...类在实例化时所需的数据只有在运行时通过计算才能获得,所以我们必须延迟实例化,所以也就有了先前的惰性初始化(Lazy-initialize)--第一次调用时进行初始化。

基于12个网页-相关网页

双语例句

  • One important feature of this repository will be to transparently initialize lazy associations when they are required on the Flex side.

    这个仓库的一个重要功能是当懒关联在Flex端被请求的时候,它们要透明地初始化。

    youdao

  • Instead of double-checked locking, use the Initialize-on-demand Holder Class idiom, which provides lazy initialization, is thread-safe, and is faster and less confusing than double-checked locking.

    不使用双重检查锁定,而使用Initialize - on - demand Holder Class idiom,它提供了迟缓初始化,是线程安全的,而且比双重检查锁定更快且没那么混乱。

    youdao

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

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

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