Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for synchronizedSupplier (0.61 seconds)

  1. guava/src/com/google/common/base/Suppliers.java

       * Returns a supplier whose {@code get()} method synchronizes on {@code delegate} before calling
       * it, making it thread-safe.
       */
      @J2ktIncompatible
      public static <T extends @Nullable Object> Supplier<T> synchronizedSupplier(
          Supplier<T> delegate) {
        return new ThreadSafeSupplier<>(delegate);
      }
    
      @J2ktIncompatible
      private static final class ThreadSafeSupplier<T extends @Nullable Object>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 21:24:28 GMT 2026
    - 16.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/Suppliers.java

       * Returns a supplier whose {@code get()} method synchronizes on {@code delegate} before calling
       * it, making it thread-safe.
       */
      @J2ktIncompatible
      public static <T extends @Nullable Object> Supplier<T> synchronizedSupplier(
          Supplier<T> delegate) {
        return new ThreadSafeSupplier<>(delegate);
      }
    
      @J2ktIncompatible
      private static final class ThreadSafeSupplier<T extends @Nullable Object>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 21:24:28 GMT 2026
    - 16.1K bytes
    - Click Count (0)
Back to Top