Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 358 for Supplied (0.06 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/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:10:20 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/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: Tue Oct 22 13:49:09 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/LongAddables.java

    import com.google.common.base.Supplier;
    import java.util.concurrent.atomic.AtomicLong;
    
    /**
     * Source of {@link LongAddable} objects that deals with GWT, Unsafe, and all that.
     *
     * @author Louis Wasserman
     */
    @ElementTypesAreNonnullByDefault
    final class LongAddables {
      private static final Supplier<LongAddable> SUPPLIER;
    
      static {
        Supplier<LongAddable> supplier;
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 04 17:27:14 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContext.java

                    }
                }
                return model;
            }
    
            public Model computeIfAbsent(Supplier<Model> supplier) {
                if (!set) {
                    synchronized (this) {
                        if (!set) {
                            this.set = true;
                            this.model = supplier.get();
                            this.notifyAll();
                        }
                    }
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCache.java

            public int hashCode() {
                return hash;
            }
        }
    
        static class CachingSupplier<T> implements Supplier<T> {
            final Supplier<T> supplier;
            volatile Object value;
    
            CachingSupplier(Supplier<T> supplier) {
                this.supplier = supplier;
            }
    
            @Override
            @SuppressWarnings({"unchecked", "checkstyle:InnerAssignment"})
            public T get() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLog.java

        @Override
        public void debug(Throwable error) {
            logger.debug("", error);
        }
    
        @Override
        public void debug(Supplier<String> content) {
            if (isDebugEnabled()) {
                logger.debug(content.get());
            }
        }
    
        @Override
        public void debug(Supplier<String> content, Throwable error) {
            if (isDebugEnabled()) {
                logger.debug(content.get(), error);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/LongAddables.java

    import com.google.common.base.Supplier;
    import java.util.concurrent.atomic.AtomicLong;
    
    /**
     * Source of {@link LongAddable} objects that deals with GWT, Unsafe, and all that.
     *
     * @author Louis Wasserman
     */
    @ElementTypesAreNonnullByDefault
    final class LongAddables {
      private static final Supplier<LongAddable> SUPPLIER;
    
      static {
        Supplier<LongAddable> supplier;
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 04 17:27:14 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/stream/StreamUtil.java

        }
    
        public static class StreamOf<T> {
    
            private final Supplier<Stream<T>> supplier;
    
            public StreamOf(final Supplier<Stream<T>> supplier) {
                this.supplier = supplier;
            }
    
            public void of(final Consumer<Stream<T>> stream) {
                try (Stream<T> s = supplier.get()) {
                    stream.accept(s);
                }
            }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/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: Sat Oct 19 02:56:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/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: Fri Oct 18 15:00:32 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top