約1,490件1ページ目

日本語のみで絞り込む

条件を指定して検索しています。すべての条件を解除する

  • 最終更新日:1か月以内
  • 3日前 -Explain the Singleton pattern and show how to implement a thread-safe singleton in Java. Then explain how you would ensure thread safety for operations on ...

    2026/10/23 -This helps save memory and resources, but the basic implementation is not thread-safe. Example: Classical Java implementation of singleton design pattern. C++ ...

    2026/10/15 -And even when initialization is thread-safe, the object's mutable state may still need protection. Let's explore six ways to implement a Java singleton ...

    2026/10/28 -In this tutorial, we'll first look at the singleton design pattern and its thread-safe implementation. Then, we'll look at the singleton bean scope in ...

    2026/10/28 -It's already threadsafe because java static field/class initialization is thread safe – at JVM level. Static initialization is performed once per class ...

    2026/10/13 -While the implementation is an efficient thread-safe "singleton" cache without synchronization overhead, and better performing than uncontended ...

    2026/10/28 -What the Singleton pattern is: one class, one object, one global access point · The 3 building blocks: private constructor, static instance, public static ...

    2026/10/10 -How do you implement a thread-safe singleton in Java? A singleton guarantees one instance with a global access point. The thread-safe versions are the enum ...

    2026/10/21 -Thread safety is a property of an object or code which guarantees that if executed or used by multiple threads in any manner e.g. read vs writing it will behave ...

    2026/10/21 -Singleton doesn't mean thread-safe. Multiple threads can access it at once, so ConcurrentHashMap would be a better choice.. Like.