Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 271 for optall (0.1 sec)

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

        Map<String, Integer> moreToPut = new LinkedHashMap<>();
        moreToPut.put("four", 4);
        moreToPut.put("five", 5);
    
        ImmutableMap<String, Integer> map =
            new Builder<String, Integer>().putAll(toPut).putAll(moreToPut).buildOrThrow();
        assertMapEquals(map, "one", 1, "two", 2, "three", 3, "four", 4, "five", 5);
      }
    
      public void testBuilderReuse() {
        Builder<String, Integer> builder = new Builder<>();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K 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. 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)
  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. 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)
  6. guava/src/com/google/common/cache/ForwardingLoadingCache.java

        return delegate().getUnchecked(key);
      }
    
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this
      @Override
      public ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException {
        return delegate().getAll(keys);
      }
    
      @Override
      public V apply(K key) {
        return delegate().apply(key);
      }
    
      @Override
      public void refresh(K key) {
        delegate().refresh(key);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top