Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 523 for putAll (0.04 sec)

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

        public @Nullable V put(K key, V value) {
          assertTrue(Thread.holdsLock(mutex));
          return super.put(key, value);
        }
    
        @Override
        public void putAll(Map<? extends K, ? extends V> map) {
          assertTrue(Thread.holdsLock(mutex));
          super.putAll(map);
        }
    
        @Override
        public Set<K> keySet() {
          assertTrue(Thread.holdsLock(mutex));
          return super.keySet();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/ForwardingCache.java

      }
    
      /** @since 11.0 */
      @Override
      public void put(K key, V value) {
        delegate().put(key, value);
      }
    
      /** @since 12.0 */
      @Override
      public void putAll(Map<? extends K, ? extends V> m) {
        delegate().putAll(m);
      }
    
      @Override
      public void invalidate(Object key) {
        delegate().invalidate(key);
      }
    
      /** @since 11.0 */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuildingRequest.java

                synchronized (systemProperties) { // avoid concurrent modification if someone else sets/removes an unrelated
                    // system property
                    this.systemProperties.putAll(systemProperties);
                }
            } else {
                this.systemProperties = null;
            }
    
            return this;
        }
    
        @Override
        public Properties getUserProperties() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/exentity/Group.java

            final Map<String, Object> sourceMap = new HashMap<>();
            if (name != null) {
                sourceMap.put("name", name);
            }
            if (attributes != null) {
                sourceMap.putAll(attributes);
            }
            return sourceMap;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Table.java

       * {@code put()} or {@code putAll()}, or {@code setValue()} on its entries.
       *
       * <p>In contrast, the maps returned by {@code rowMap().get()} have the same behavior as those
       * returned by {@link #row}. Those maps may support {@code setValue()}, {@code put()}, and {@code
       * putAll()}.
       *
       * @return a map view from each row key to a secondary map from column keys to values
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  6. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java

            } else if (targetLocations == null) {
                locations = sourceLocations;
            } else {
                locations = new LinkedHashMap<>();
                locations.putAll(sourceDominant ? targetLocations : sourceLocations);
                locations.putAll(sourceDominant ? sourceLocations : targetLocations);
            }
    
            return new InputLocation(-1, -1, InputSource.merge(source.getSource(), target.getSource()), locations);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 15 13:24:49 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                        ImmutableSetMultimap<String, Integer> badEntries =
                            ImmutableSetMultimap.of("foo", 314, "one", 159, "two", 265, "bar", 358);
                        multimap.putAll(badEntries);
                        return Multimaps.filterEntries(
                            multimap, not(Predicates.in(badEntries.entries())));
                      }
                    })
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TreeRangeMap.java

        @Override
        public void putAll(RangeMap<K, ? extends V> rangeMap) {
          if (rangeMap.asMapOfRanges().isEmpty()) {
            return;
          }
          Range<K> span = rangeMap.span();
          checkArgument(
              subRange.encloses(span),
              "Cannot putAll rangeMap with span %s into a subRangeMap(%s)",
              span,
              subRange);
          TreeRangeMap.this.putAll(rangeMap);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingSortedMap.java

     * the methods of the delegate. For example, overriding {@link #put} alone <i>will not</i> change
     * the behavior of {@link #putAll}, which can lead to unexpected behavior. In this case, you should
     * override {@code putAll} as well, either providing your own implementation, or delegating to the
     * provided {@code standardPutAll} method.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

        filtered.put("a", 1);
        filtered.put("b", 2);
        assertEquals(ImmutableMap.of("a", 1, "b", 2), filtered);
    
        assertThrows(
            IllegalArgumentException.class,
            () -> filtered.putAll(ImmutableMap.of("c", 3, "zzz", 4, "b", 5)));
    
        assertEquals(ImmutableMap.of("a", 1, "b", 2), filtered);
      }
    
      public void testFilteredKeysFilteredReflectsBackingChanges() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top