Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 491 - 500 of 1,052 for supply (0.04 seconds)

  1. guava-tests/test/com/google/common/collect/ForwardingSetMultimapTest.java

        new ForwardingWrapperTester()
            .testForwarding(
                SetMultimap.class,
                new Function<SetMultimap, SetMultimap<?, ?>>() {
                  @Override
                  public SetMultimap<?, ?> apply(SetMultimap delegate) {
                    return wrap((SetMultimap<?, ?>) delegate);
                  }
                });
      }
    
      public void testEquals() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/ForwardingSortedSetMultimapTest.java

            .testForwarding(
                SortedSetMultimap.class,
                new Function<SortedSetMultimap, SortedSetMultimap<?, ?>>() {
                  @Override
                  public SortedSetMultimap<?, ?> apply(SortedSetMultimap delegate) {
                    return wrap((SortedSetMultimap<?, ?>) delegate);
                  }
                });
      }
    
      public void testEquals() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/EmptyDirTask.java

            this.dir = getProject().file(dir);
        }
    
        @Input
        public int getDirMode() {
            return dirMode;
        }
    
        /**
         * @param dirMode The permissions to apply to the new directory
         */
        public void setDirMode(int dirMode) {
            this.dirMode = dirMode;
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

     *     .addEquivalenceGroup("hello", "h" + "ello")
     *     .addEquivalenceGroup("world", "wor" + "ld")
     *     .test();
     * }
     *
     * <p>Note that testing {@link Object#equals(Object)} is more simply done using the {@link
     * EqualsTester}. It includes an extra test against an instance of an arbitrary class without having
     * to explicitly add another equivalence group.
     *
     * @author Gregory Kick
     * @since 10.0
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/testing/EquivalenceTester.java

     *     .addEquivalenceGroup("hello", "h" + "ello")
     *     .addEquivalenceGroup("world", "wor" + "ld")
     *     .test();
     * }
     *
     * <p>Note that testing {@link Object#equals(Object)} is more simply done using the {@link
     * EqualsTester}. It includes an extra test against an instance of an arbitrary class without having
     * to explicitly add another equivalence group.
     *
     * @author Gregory Kick
     * @since 10.0
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  6. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

          assertEquals(0, defaultFunction.apply(null));
        }
      }
    
      public void testGenericInterfaceDefaultValue() {
        new GenericInterfaceDefaultValueChecker().check();
      }
    
      private interface NullRejectingFromTo<F, T> extends Function<F, T> {
        @Override
        T apply(F from);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 47.9K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dns.kt

            try {
              return InetAddress.getAllByName(hostname).toList()
            } catch (e: NullPointerException) {
              throw UnknownHostException("Broken system behaviour for dns lookup of $hostname").apply {
                initCause(e)
              }
            }
          }
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt

            Request
              .Builder()
              .url("https://example.com/")
              .build(),
          ).protocol(Protocol.HTTP_1_1)
          .code(code)
          .message("OK")
          .body(responseBody)
          .apply { fn() }
          .build()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 07 18:57:05 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt

      private var authenticator = JavaNetAuthenticator()
      private val fakeDns = FakeDns()
      private val recordingAuthenticator = RecordingAuthenticator()
      private val factory =
        TestValueFactory()
          .apply {
            dns = fakeDns
          }
    
      @BeforeEach
      fun setup() {
        Authenticator.setDefault(recordingAuthenticator)
      }
    
      @AfterEach
      fun tearDown() {
        Authenticator.setDefault(null)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  10. guava/src/com/google/common/base/Present.java

        return Collections.singleton(reference);
      }
    
      @Override
      public <V> Optional<V> transform(Function<? super T, V> function) {
        return new Present<>(
            checkNotNull(
                function.apply(reference),
                "the Function passed to Optional.transform() must not return null."));
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        if (obj instanceof Present) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Apr 15 22:14:00 GMT 2025
    - 2.5K bytes
    - Click Count (0)
Back to Top