Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 512 for putAll (0.04 sec)

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

            .that(bucketsOf(map1))
            .isEqualTo(initialBuckets);
    
        /*
         * Something slightly different happens when the entries are added all at
         * once; make sure that passes too.
         */
        map2.putAll(map1);
        assertWithMessage("table size after adding %s elements", size)
            .that(bucketsOf(map1))
            .isEqualTo(initialBuckets);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                    request.setRemoteRepositories(req.getRemoteRepositories());
                }
            } else {
                Properties props = new Properties();
                EnvironmentUtils.addEnvVars(props);
                props.putAll(System.getProperties());
                request.setSystemProperties(props);
            }
    
            return request;
        }
    
        @SuppressWarnings("unchecked")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/ArrayMap.java

         * @param map
         *            the map whose mappings are to be placed in this map
         */
        public ArrayMap(final Map<? extends K, ? extends V> map) {
            this((int) (map.size() / LOAD_FACTOR) + 1);
            putAll(map);
        }
    
        @Override
        public int size() {
            return size;
        }
    
        @Override
        public boolean isEmpty() {
            return size == 0;
        }
    
        @Override
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeMultimap.java

      private TreeMultimap(
          Comparator<? super K> keyComparator,
          Comparator<? super V> valueComparator,
          Multimap<? extends K, ? extends V> multimap) {
        this(keyComparator, valueComparator);
        putAll(multimap);
      }
    
      @Override
      Map<K, Collection<V>> createAsMap() {
        return createMaybeNavigableAsMap();
      }
    
      /**
       * {@inheritDoc}
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/BloomFilter.java

       *
       * @param that The Bloom filter to combine this Bloom filter with. It is not mutated.
       * @throws IllegalArgumentException if {@code isCompatible(that) == false}
       * @since 15.0
       */
      public void putAll(BloomFilter<T> that) {
        checkNotNull(that);
        checkArgument(this != that, "Cannot combine a BloomFilter with itself.");
        checkArgument(
            this.numHashFunctions == that.numHashFunctions,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 19:23:59 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        Object three = new Object();
    
        ConcurrentMap<Object, Object> map = cache.asMap();
        assertThat(map.put(one, two)).isNull();
        assertThat(map.get(one)).isSameInstanceAs(two);
        map.putAll(ImmutableMap.of(two, three));
        assertThat(map.get(two)).isSameInstanceAs(three);
        assertThat(map.putIfAbsent(one, three)).isSameInstanceAs(two);
        assertThat(map.get(one)).isSameInstanceAs(two);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java

                                .map(ToolchainManagerFactory.this::getToolchainV4);
                    }
                });
            }
            allFactories.putAll(v4Factories);
            return new org.apache.maven.impl.DefaultToolchainManager(allFactories, logger) {};
        }
    
        public class DefaultToolchainManagerV4 implements org.apache.maven.api.services.ToolchainManager {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 31 10:58:52 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                final Map<String, Object> contextMap = new HashMap<>();
                contextMap.put("doc", dataMap);
                final Map<String, Object> paramMap = new HashMap<>(dataMap.size() + 2);
                paramMap.putAll(dataMap);
                paramMap.put("value", target);
                paramMap.put("context", contextMap);
                target = evaluateValue(scriptType, template, paramMap);
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbOperationException.java

         * @return this exception for chaining
         */
        public SmbOperationException withContext(Map<String, Object> contextMap) {
            if (contextMap != null) {
                this.context.putAll(contextMap);
            }
            return this;
        }
    
        // Getters
        public ErrorCode getErrorCode() {
            return errorCode;
        }
    
        public ErrorCategory getErrorCategory() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/Cache.java

       * {@code k} to value {@code v} in the specified map. The behavior of this operation is undefined
       * if the specified map is modified while the operation is in progress.
       *
       * @since 12.0
       */
      void putAll(Map<? extends K, ? extends V> m);
    
      /** Discards any cached value for key {@code key}. */
      void invalidate(@CompatibleWith("K") Object key);
    
      /**
       * Discards any cached values for keys {@code keys}.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top