Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Factory (0.04 sec)

  1. android/guava/src/com/google/common/collect/Multimaps.java

        return new CustomMultimap<>(map, factory);
      }
    
      private static final class CustomMultimap<K extends @Nullable Object, V extends @Nullable Object>
          extends AbstractMapBasedMultimap<K, V> {
        transient Supplier<? extends Collection<V>> factory;
    
        CustomMultimap(Map<K, Collection<V>> map, Supplier<? extends Collection<V>> factory) {
          super(map);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

     *
     * OkHttp also uses daemon threads for HTTP/2 connections. These will exit automatically if they
     * remain idle.
     */
    open class OkHttpClient internal constructor(
      builder: Builder,
    ) : Call.Factory,
      WebSocket.Factory {
      @get:JvmName("dispatcher")
      val dispatcher: Dispatcher = builder.dispatcher
    
      /**
       * Returns an immutable list of interceptors that observe the full span of each call: from before
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 51.4K bytes
    - Viewed (0)
  3. okhttp/api/jvm/okhttp.api

    }
    
    public final class okhttp3/OkHttp {
    	public static final field INSTANCE Lokhttp3/OkHttp;
    	public static final field VERSION Ljava/lang/String;
    }
    
    public class okhttp3/OkHttpClient : okhttp3/Call$Factory, okhttp3/WebSocket$Factory {
    	public static final field Companion Lokhttp3/OkHttpClient$Companion;
    	public final fun -deprecated_authenticator ()Lokhttp3/Authenticator;
    	public final fun -deprecated_cache ()Lokhttp3/Cache;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MapsTest.java

        HashMap<Integer, Integer> map = Maps.newHashMap();
        assertEquals(emptyMap(), map);
      }
    
      public void testHashMapWithInitialMap() {
        Map<String, Integer> original = new TreeMap<>();
        original.put("a", 1);
        original.put("b", 2);
        original.put("c", 3);
        @SuppressWarnings("UseCollectionConstructor") // test of factory method
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

       * parameter.
       */
      private fun sampleValuesMap(): Map<Class<*>, Any> {
        TestValueFactory().use { factory ->
          val address = factory.newAddress("a")
          val route = factory.newRoute(address)
          val pool = factory.newConnectionPool()
          val url = "https://example.com/".toHttpUrl()
          val request = Request(url = url)
          val response =
            Response
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

            return connectionManager;
        }
    
        /**
         * Builds the SSL socket factory for HTTPS connections.
         *
         * @param httpClientBuilder The HTTP client builder
         * @return The configured SSL socket factory
         */
        protected LayeredConnectionSocketFactory buildSSLSocketFactory(final HttpClientBuilder httpClientBuilder) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 53.7K bytes
    - Viewed (0)
  7. okhttp/api/android/okhttp.api

    	public static final field VERSION Ljava/lang/String;
    	public final fun initialize (Landroid/content/Context;)V
    }
    
    public class okhttp3/OkHttpClient : okhttp3/Call$Factory, okhttp3/WebSocket$Factory {
    	public static final field Companion Lokhttp3/OkHttpClient$Companion;
    	public final fun -deprecated_authenticator ()Lokhttp3/Authenticator;
    	public final fun -deprecated_cache ()Lokhttp3/Cache;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapsTest.java

        HashMap<Integer, Integer> map = Maps.newHashMap();
        assertEquals(emptyMap(), map);
      }
    
      public void testHashMapWithInitialMap() {
        Map<String, Integer> original = new TreeMap<>();
        original.put("a", 1);
        original.put("b", 2);
        original.put("c", 3);
        @SuppressWarnings("UseCollectionConstructor") // test of factory method
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Sets.java

       * syntax</a>. One caveat to this is that the {@code TreeSet} constructor uses a null {@code
       * Comparator} to mean "natural ordering," whereas this factory rejects null. Clean your code
       * accordingly.
       *
       * @param comparator the comparator to use to sort the set
       * @return a new, empty {@code TreeSet}
       * @throws NullPointerException if {@code comparator} is null
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        return keySet.descendingSet();
      }
    
      /**
       * Serialized type for all ImmutableSortedMap instances. It captures the logical contents and they
       * are reconstructed using public factory methods. This ensures that the implementation types
       * remain as implementation details.
       */
      @J2ktIncompatible // serialization
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 52.9K bytes
    - Viewed (0)
Back to top