Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 280 for supplier (0.13 sec)

  1. android/guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java

        @Nullable Object get() throws Throwable;
      }
    
      @CanIgnoreReturnValue
      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingSupplier supplier) {
        return doAssertThrows(expectedThrowable, supplier, /* userPassedSupplier= */ true);
      }
    
      @CanIgnoreReturnValue
      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingRunnable runnable) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java

        @Nullable Object get() throws Throwable;
      }
    
      @CanIgnoreReturnValue
      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingSupplier supplier) {
        return doAssertThrows(expectedThrowable, supplier, /* userPassedSupplier= */ true);
      }
    
      @CanIgnoreReturnValue
      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingRunnable runnable) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java

        @Nullable Object get() throws Throwable;
      }
    
      @CanIgnoreReturnValue
      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingSupplier supplier) {
        return doAssertThrows(expectedThrowable, supplier, /* userPassedSupplier= */ true);
      }
    
      @CanIgnoreReturnValue
      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingRunnable runnable) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                    this.beanEntry = beanEntry;
                    return this;
                }
    
                @Override
                public Supplier<T> compile(Function<Dependency<?>, Supplier<?>> compiler) {
                    return beanEntry.getProvider()::get;
                }
            }
    
            class BridgeProvider<T> implements Provider<T> {
                final Binding<T> binding;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ReflectionFreeAssertThrows.java

        @Nullable Object get() throws Throwable;
      }
    
      @CanIgnoreReturnValue
      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingSupplier supplier) {
        return doAssertThrows(expectedThrowable, supplier, /* userPassedSupplier= */ true);
      }
    
      @CanIgnoreReturnValue
      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingRunnable runnable) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/misc/LocaleUtil.java

                }
            }
            return locale;
        }
    
        private static Supplier<Locale> defaultLocaleSupplier;
    
        public static Locale getDefault() {
            if (defaultLocaleSupplier != null) {
                return defaultLocaleSupplier.get();
            }
            return Locale.ENGLISH;
        }
    
        public static void setDefault(final Supplier<Locale> localeSupplier) {
            defaultLocaleSupplier = localeSupplier;
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

         *
         * @param key the key for which to retrieve the session data, must not be {@code null}
         * @param supplier the supplier will compute the new value
         * @return the session data associated with the key
         */
        @Nullable
        <T> T computeIfAbsent(@Nonnull Key<T> key, @Nonnull Supplier<T> supplier);
    
        /**
         * Create a key using the given class as an identifier and as the type of the object.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:31:09 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelCache.java

     */
    @Deprecated(since = "4.0.0")
    public interface ModelCache {
    
        <T> T computeIfAbsent(String groupId, String artifactId, String version, String tag, Supplier<T> data);
    
        <T> T computeIfAbsent(Source path, String tag, Supplier<T> data);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

            Striped.semaphore(256, 1));
      }
    
      private static final Supplier<ReadWriteLock> READ_WRITE_LOCK_SUPPLIER =
          new Supplier<ReadWriteLock>() {
            @Override
            public ReadWriteLock get() {
              return new ReentrantReadWriteLock();
            }
          };
    
      private static final Supplier<Lock> LOCK_SUPPLER =
          new Supplier<Lock>() {
            @Override
            public Lock get() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

            Striped.semaphore(256, 1));
      }
    
      private static final Supplier<ReadWriteLock> READ_WRITE_LOCK_SUPPLIER =
          new Supplier<ReadWriteLock>() {
            @Override
            public ReadWriteLock get() {
              return new ReentrantReadWriteLock();
            }
          };
    
      private static final Supplier<Lock> LOCK_SUPPLER =
          new Supplier<Lock>() {
            @Override
            public Lock get() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top