Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 523 for putAll (0.21 sec)

  1. android/guava/src/com/google/common/reflect/TypeResolver.java

        final TypeTable where(Map<TypeVariableKey, ? extends Type> mappings) {
          ImmutableMap.Builder<TypeVariableKey, Type> builder = ImmutableMap.builder();
          builder.putAll(map);
          for (Entry<TypeVariableKey, ? extends Type> mapping : mappings.entrySet()) {
            TypeVariableKey variable = mapping.getKey();
            Type type = mapping.getValue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NetworkExplorer.java

            StringBuffer sb = new StringBuffer();
            byte[] buf = new byte[1024];
            int n;
            String name;
    
            Properties p = new Properties();
            p.putAll(System.getProperties());
            p.setProperty("jcifs.smb.client.soTimeout", "600000");
            p.setProperty("jcifs.smb.client.attrExpirationPeriod", "300000");
    
            Enumeration<String> e = getInitParameterNames();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MultimapBuilder.java

       * {@code multimap}.
       */
      public <K extends K0, V extends V0> Multimap<K, V> build(
          Multimap<? extends K, ? extends V> multimap) {
        Multimap<K, V> result = build();
        result.putAll(multimap);
        return result;
      }
    
      /**
       * A specialization of {@link MultimapBuilder} that generates {@link ListMultimap} instances.
       *
       * @since 16.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/LinkedHashMultimap.java

          LinkedHashMultimap<K, V> create(Multimap<? extends K, ? extends V> multimap) {
        LinkedHashMultimap<K, V> result = create(multimap.keySet().size(), DEFAULT_VALUE_SET_CAPACITY);
        result.putAll(multimap);
        return result;
      }
    
      private interface ValueSetLink<K extends @Nullable Object, V extends @Nullable Object> {
        ValueSetLink<K, V> getPredecessorInValueSet();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

              // put range2 and range3 into test2, and then put test2 into test
              test.put(range1, 1);
              test2.put(range2, 2);
              test2.put(range3, 3);
              test.putAll(test2);
              verify(model, test);
            }
          }
        }
      }
    
      public void testPutAndRemove() {
        for (Range<Integer> rangeToPut : RANGES) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Oct 06 13:04:03 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/LinkedListMultimap.java

        keyToKeyList = Platform.newHashMapWithExpectedSize(expectedKeys);
      }
    
      private LinkedListMultimap(Multimap<? extends K, ? extends V> multimap) {
        this(multimap.keySet().size());
        putAll(multimap);
      }
    
      /**
       * Adds a new node for the specified key-value pair before the specified {@code nextSibling}
       * element, or at the end of the list if {@code nextSibling} is null. Note: if {@code nextSibling}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

            return value;
          }
    
          alertListenerIfPresent(castKey, value, RemovalCause.EXPIRED);
        }
        return null;
      }
    
      @Override
      public void putAll(Map<? extends K, ? extends V> m) {
        for (Entry<? extends K, ? extends V> entry : m.entrySet()) {
          put(entry.getKey(), entry.getValue());
        }
      }
    
      @Override
      public void clear() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

         * method was called and when all the listeners were installed.
         */
        ServiceManagerState(ImmutableCollection<Service> services) {
          this.numberOfServices = services.size();
          servicesByState.putAll(NEW, services);
        }
    
        /**
         * Attempts to start the timer immediately prior to the service being started via {@link
         * Service#startAsync()}.
         */
        void tryStartTiming(Service service) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ServiceManager.java

         * method was called and when all the listeners were installed.
         */
        ServiceManagerState(ImmutableCollection<Service> services) {
          this.numberOfServices = services.size();
          servicesByState.putAll(NEW, services);
        }
    
        /**
         * Attempts to start the timer immediately prior to the service being started via {@link
         * Service#startAsync()}.
         */
        void tryStartTiming(Service service) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/HashBiMap.java

       */
      public static <K extends @Nullable Object, V extends @Nullable Object> HashBiMap<K, V> create(
          Map<? extends K, ? extends V> map) {
        HashBiMap<K, V> bimap = create(map.size());
        bimap.putAll(map);
        return bimap;
      }
    
      private static final int ABSENT = -1;
      private static final int ENDPOINT = -2;
    
      /** Maps an "entry" to the key of that entry. */
      transient @Nullable K[] keys;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
Back to top