Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 853 for applyIf (0.17 sec)

  1. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

        }
    
        fun client(client: OkHttpClient) =
          apply {
            this.client = client
          }
    
        fun url(url: HttpUrl) =
          apply {
            this.url = url
          }
    
        fun includeIPv6(includeIPv6: Boolean) =
          apply {
            this.includeIPv6 = includeIPv6
          }
    
        fun post(post: Boolean) =
          apply {
            this.post = post
          }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

        assertTrue(equalTo1.apply("1"));
        assertFalse(equalTo1.apply("2"));
        assertFalse(equalTo1.apply(null));
        Predicate<@Nullable Object> isNull = Equivalence.equals().equivalentTo(null);
        assertFalse(isNull.apply("1"));
        assertFalse(isNull.apply("2"));
        assertTrue(isNull.apply(null));
    
        new EqualsTester()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        }
    
        @Override
        public O apply(I input) {
          applyCount++;
          return delegate.apply(input);
        }
    
        void verifyCallCount(int expected) {
          assertThat(applyCount).isEqualTo(expected);
        }
      }
    
      private static <X extends Throwable, V> Function<X, V> unexpectedFunction() {
        return new Function<X, V>() {
          @Override
          public V apply(X t) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileInjector.java

                        Object key = getPluginKey().apply(element);
                        master.put(key, element);
                    }
    
                    Map<Object, List<Plugin>> predecessors = new LinkedHashMap<>();
                    List<Plugin> pending = new ArrayList<>();
                    for (Plugin element : src) {
                        Object key = getPluginKey().apply(element);
                        Plugin existing = master.get(key);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  5. docs/LICENSE

                b. produce, reproduce, and Share Adapted Material.
    
           2. Exceptions and Limitations. For the avoidance of doubt, where
              Exceptions and Limitations apply to Your use, this Public
              License does not apply, and You do not need to comply with
              its terms and conditions.
    
           3. Term. The term of this Public License is specified in Section
              6(a).
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon May 10 16:50:06 GMT 2021
    - 18.2K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/admin.js

          }
        })
        .on("apply.daterangepicker", function(ev, picker) {
          $(this).val(picker.startDate.format("YYYY-MM-DD"));
        });
      $("input.form-control.daterange")
        .daterangepicker({
          autoUpdateInput: false,
          timePicker: false,
          singleDatePicker: false,
          locale: {
            format: "YYYY-MM-DD"
          }
        })
        .on("apply.daterangepicker", function(ev, picker) {
    JavaScript
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Aug 06 20:44:47 GMT 2018
    - 3.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

            @Override
            public Optional<?> apply(@Nullable Object obj) {
              return Optional.fromNullable(obj);
            }
          };
    
      private static final Function<Optional<?>, @Nullable Object> OPTIONAL_TO_NULLABLE =
          new Function<Optional<?>, @Nullable Object>() {
            @Override
            public @Nullable Object apply(Optional<?> optional) {
              return optional.orNull();
            }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/MathTesting.java

          new Function<Integer, Long>() {
            @Override
            public Long apply(Integer n) {
              return Long.valueOf(n);
            }
          };
    
      /* Helper function to make a BigInteger value from a Long. */
      private static final Function<Long, BigInteger> TO_BIGINTEGER =
          new Function<Long, BigInteger>() {
            @Override
            public BigInteger apply(Long n) {
              return BigInteger.valueOf(n);
            }
          };
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Predicates.java

        private CompositionPredicate(Predicate<B> p, Function<A, ? extends B> f) {
          this.p = checkNotNull(p);
          this.f = checkNotNull(f);
        }
    
        @Override
        public boolean apply(@ParametricNullness A a) {
          return p.apply(f.apply(a));
        }
    
        @Override
        public boolean equals(@CheckForNull Object obj) {
          if (obj instanceof CompositionPredicate) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

                .catching(
                    Throwable.class,
                    new Function<Throwable, Class<?>>() {
                      @Override
                      public Class<?> apply(Throwable input) {
                        return input.getClass();
                      }
                    },
                    directExecutor());
        assertThat(f.get()).isEqualTo(CustomRuntimeException.class);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 5.7K bytes
    - Viewed (0)
Back to top