Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 523 for putAll (0.2 sec)

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

          return standardContainsKey(key);
        }
    
        @Override
        public boolean containsValue(Object value) {
          return standardContainsValue(value);
        }
    
        @Override
        public void putAll(Map<? extends K, ? extends V> map) {
          standardPutAll(map);
        }
    
        @Override
        public @Nullable V remove(Object object) {
          return standardRemove(object);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/TreeBasedTable.java

      public static <R, C, V> TreeBasedTable<R, C, V> create(TreeBasedTable<R, C, ? extends V> table) {
        TreeBasedTable<R, C, V> result =
            new TreeBasedTable<>(table.rowComparator(), table.columnComparator());
        result.putAll(table);
        return result;
      }
    
      TreeBasedTable(Comparator<? super R> rowComparator, Comparator<? super C> columnComparator) {
        super(new TreeMap<R, Map<C, V>>(rowComparator), new Factory<C, V>(columnComparator));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  4. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                if (l != null) {
                    l.clearValue();
                }
            }
            return old;
        }
    
        void putAllSubstituted(Map<? extends String, ? extends String> m) {
            storage.putAll(m);
        }
    
        public String put(String key, List<String> commentLines, List<String> valueLines) {
            commentLines = new ArrayList<>(commentLines);
            valueLines = new ArrayList<>(valueLines);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/ArrayMap.java

         *
         * @param 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: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          // don't let the entries get GCed
          List<Entry<Object, Object>> unused = warmUp(cache);
          Object newKey = new Object();
          Object newValue = new Object();
          cache.asMap().putAll(ImmutableMap.of(newKey, newValue));
          // this getUnchecked() call shouldn't be a cache miss; verified below
          assertEquals(newValue, cache.getUnchecked(newKey));
          assertEquals(WARMUP_SIZE, cache.stats().missCount());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMap.java

         * the last value put for that key.
         *
         * @throws NullPointerException if any key or value in {@code map} is null
         */
        @CanIgnoreReturnValue
        public Builder<K, V> putAll(Map<? extends K, ? extends V> map) {
          return putAll(map.entrySet());
        }
    
        /**
         * Adds all of the given entries to the built map. If the same key is put more than once, {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  9. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Mar 09 00:21:17 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/RangeMap.java

       *
       * @since 22.0
       */
      void putCoalescing(Range<K> range, V value);
    
      /** Puts all the associations from {@code rangeMap} into this range map (optional operation). */
      void putAll(RangeMap<K, ? extends V> rangeMap);
    
      /** Removes all associations from this range map (optional operation). */
      void clear();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top