• It's thread-safe and has a smaller footprint.

    线程安全,而且节省资源。

    youdao

  • Using a thread-safe wrapper for the data repository.

    数据存储库使用线程安全包装器

    youdao

  • Listing 1 shows a non-thread-safe number range class.

    清单1显示了一个非线程安全的数值范围类。

    youdao

  • Additionally, the Andoid UI toolkit is not thread-safe.

    此外AndoidUI组件包并不是线程安全的。

    youdao

  • Listing 3 shows you how to use this thread-safe version.

    清单3说明如何使用线程安全版本

    youdao

  • One advantage of immutable classes is that they are thread-safe.

    (不可一个优点就是它们线程安全的)。

    youdao

  • IBinder methods must, therefore, be implemented to be thread-safe.

    因此ibinder方法必须实现线程安全的。

    youdao

  • Objects that you put on the session should be thread-safe and serializable.

    放到会话中的对象应该线程安全可序列化的。

    youdao

  • In situations where you know you need thread safety, use a thread-safe view.

    需要线程安全情况下,请使用线程安全视图。

    youdao

  • Moreover, it may be impossible to make a non-reentrant function thread-safe.

    另外或许可能某个不可重入的函数是线程安全的。

    youdao

  • One common use is for storing a singleton of a type that is not thread-safe.

    一种常见用法用于存储线程安全类型例。

    youdao

  • Any read-only tree operation is thread-safe as long as there isn't any thread modifying it.

    所有只读操作线程安全的,只要没有线程修改它。

    youdao

  • Batch application developers write code that is thread-safe and executes on a single thread.

    批处理应用程序开发人员可以编写线程安全的、单个线程中执行的代码

    youdao

  • The first condition disqualifies volatile variables from being used as thread-safe counters.

    第一条件的限制使volatile变量不能用作线程安全计数器

    youdao

  • The DataMapRepository class presented previously and its base class LinkedHashMap are not thread-safe.

    之前介绍过的datamaprepository及其LinkedHashMap都不是线程安全的。

    youdao

  • Consider a thread-safe container class - a data structure that guarantees thread safety to its clients.

    可以考虑使用线程安全容器—一个保证用户操作线程安全的数据结构

    youdao

  • They all output the same value illustrating that this is a thread-safe generic way to create singletons.

    所有线程返回相同,这说明一个线程安全的使用型来实现的单态模式。

    youdao

  • It may be easier to manage the use of a non-thread-safe class than to try and make the class thread-safe.

    管理线程安全使用试图使类成为线程安全容易些。

    youdao

  • In this article, you'll learn how to build a thread-safe data repository for keeping auto-saved form data.

    本文中,学习如何构建线程安全数据存储库自动保存表单数据。

    youdao

  • In its simplest mode it ACTS as a thread-safe queue in which consumers are blocked while the queue is empty.

    最简单的使用模式便是作为一个线程安全的队列,并且队列阻塞消费者

    youdao

  • While the JLS gives us tools with which we can make our programs thread-safe, thread-safety does not come free.

    虽然JLS给了我们可以使我们程序线程安全的工具,但线程安全也不是天上掉下来的馅饼。

    youdao

  • Concurrent Collections make concurrent programming easier by providing thread-safe, well-tuned data structures.

    并发Collections提供了线程安全、经过良好调优的数据结构,简化了并发编程

    youdao

  • There is no straightforward way to make the code in Listing 1 thread-safe, making this idiom an accident waiting to happen.

    没有直观途径来使清单1中的代码线程安全的,这使这种语言风格成为了一种等待时机发生的事故

    youdao

  • You may have occasionally pondered whether to synchronize an entire method call or only the thread-safe subset of that method.

    可能偶尔会思考是否同步化这个方法调用还是同步化方法线程安全子集

    youdao

  • Sometimes, it is very difficult to make a class thread-safe without compromising its functionality, ease of use, or performance.

    有时,要在不影响功能易用性性能情况下使成为线程安全困难的。

    youdao

  • Many people are betting on functional programming, with its emphasis on immutable objects and their inherently thread-safe properties.

    很多现在都投身函数式编程的世界,由于它们具有不可变的对象以及与生俱来线程安全属性。

    youdao

  • In some situations, the methods you implement might be called from more than one thread, and therefore must be written to be thread-safe.

    某些场合方法可能会不止一个线程调用,因此这些方法必须写成线程安全的。

    youdao

  • It is often the easiest way to render a stateful class thread-safe, or to encapsulate non-thread-safe classes so that they can safely be used in multithreaded environments.

    常常状态描绘成线程安全的,或者封装线程安全使它们能够在多线程环境中安全地使用容易的方式

    youdao

  • It is often the easiest way to render a stateful class thread-safe, or to encapsulate non-thread-safe classes so that they can safely be used in multithreaded environments.

    常常状态描绘成线程安全的,或者封装线程安全使它们能够在多线程环境中安全地使用容易的方式

    youdao

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

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

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